|
Mike Dimmick wrote:
When you add a member variable for the control (right-click the control and choose Add Member Variable), VS.NET prompts you for the files for the wrapper class, along with the other information.
I noticed this context menu element, but did not expect to (re)create the wrapper class here.
Thanks a lot for your help
Rainer
|
|
|
|
|
Can anyone out there please help an aspiring programmer of C++ by creating the 2 programs that solve the problems below? Thanks...
1.a fast food restaurant charges $1.49 for hamburgers,$0.89 for fries,and $0.99 for sodas. Write a program that allows an employee to enter an order(the number of burgers,fries and sodas) then display a total,the tax at 6%, and the final cost. The program output should look similar to:
Enter the number of burgers: 3
Enter the number of fries: 2
Enter the number of sodas: 5
The total before tax is: $11.20
The tax is: $00.67
The grand total is: $11.87
2. Gym classes are to form volleyball teams of 7 each. Write a program that asks for the number of players,then gives the number of teams and the number of players left over. The program output should look similar to:
Enter the number of players: 37
There will be five teams with 2 left over.
...those are the 2 programs I'm asking anyone out there to create for me.Thanks to whoever does.
|
|
|
|
|
Check this out![^]
// Afterall, I realized that even my comment lines have bugs
When one cannot invent, one must at least improve (in bed).-My latest fortune cookie
|
|
|
|
|
5 REM - SET THE COSTS
10 LET BURGERCOST = 1.49
20 LET FRIESCOST = .89
30 LET SODACOST = .99
32 REM - MULTIPLYING BY .06 IS THE SAME
33 REM - AS GETTING THE PERCENTAGE
35 LET TAX = .06
40 REM - GET ORDER FROM USER
50 PRINT "ENTER THE NUMBER OF BURGERS:";
INPUT NUMBURGERS
70 PRINT "ENTER THE NUMBER OF FRIES:";IN
PUT NUMFRIES
90 PRINT "ENTER THE NUMBER OF SODAS:";IN
PUT NUMSODAS
105 REM - COMPUTE THE TOTALS
106 LET SUBTOTAL = (NUMBURGERS * BURGERC
OST) + (NUMFRIES * FRIESCOST) + (NUMSODA
S * SODASCOST)
107 LET TOTALTAX = SUBTOTAL * TAX
108 LET TOTAL = SUBTOTAL + TOTALTAX
110 REM - NOW OUTPUT THE RESULTS
120 PRINT "THE TOTAL BEFORE TAX IS: ";SU
BTOTAL
140 PRINT "THE TAX IS: ";TOTALTAX
160 PRINT "THE GRAND TOTAL IS: ";TOTAL
170 END
|
|
|
|
|
lol
todo....
:: insert inpirational text here ::
|
|
|
|
|
|
good one, it has been years since I have even thought about basic.
Gary Kirkham
A working Program is one that has only unobserved bugs
I thought I wanted a career, turns out I just wanted paychecks
|
|
|
|
|
$120.00 Cdn. even...using paypal...I don't start until I have 120$ even in my account...
Promised to be 120%(one percent for each dollar ) bug free and delivered on time...couple of hours if desired...plenty of comments for the C++ beginner...clean formatting and naming of variables/functions. You get 100% copyright and credits.
This about it...you pass your class and I make a couple of dollars...cuz well...i'm in real need of the money right now...
I'm drinking triples, seeing double and acting single
|
|
|
|
|
I'll do it for only $100.00 Cdn - same specs - easy to read comments that explain to you - the new C++ software design engineer - how the code works.
|
|
|
|
|
Did I hear 99$ ?
Silence Means Death
Stand On Your Feet
Inner Fear
Your Worst Enemy
|
|
|
|
|
OK - I'll do it for $90! A guaranteed A for only $90! And I'll guarantee this same price for all the rest of your assignments - and if you pre-pay for all of your assignments at once - I'll give you a 25% price break!
|
|
|
|
|
! A discount developer!
Silence Means Death
Stand On Your Feet
Inner Fear
Your Worst Enemy
|
|
|
|
|
KaЯl wrote:
A discount developer!
My customer is my primary conceern!
|
|
|
|
|
Now thats aggressive marketing
I'm drinking triples, seeing double and acting single
|
|
|
|
|
|
the irony of this homework question is, if
he keeps up the current approach to learning, he
will get plenty of first hand experience w/ the kind of fastfood management software he is trying to get us to write for him.
todo....
:: insert inpirational text here ::
|
|
|
|
|
hey everybody,im new with C++ and I'm having a lot of trouble creating these 2 programs to solve these word problems below. If u can type up a program for me,that'll help a lot. Thanks.
1.a fast food restaurant charges $1.49 for hamburgers,$0.89 for fries,and $0.99 for sodas. Write a program that allows an employee to enter an order(the number of burgers,fries and sodas) then display a total,the tax at 6%, and the final cost. The program output should look similar to:
Enter the number of burgers: 3
Enter the number of fries: 2
Enter the number of sodas: 5
The total before tax is: $11.20
The tax is: $00.67
The grand total is: $11.87
2. Gym classes are to form volleyball teams of 7 each. Write a program that asks for the number of players,then gives the number of teams and the number of players left over. The program output should look similar to:
Enter the number of players: 37
There will be five teams with 2 left over.
...those are the 2 programs I'm asking anyone out there to create for me.Thanks to whoever does.
|
|
|
|
|
I am so willing to type up a program for you. Where can I send it?
// Afterall, I realized that even my comment lines have bugs
|
|
|
|
|
se_bezzle_promos@hotmail.com
...thanks
|
|
|
|
|
lol...
Me too!! I'll even pay u to let me do this, of course i can't guarantee for it to contain no bugs that accidentally wipe out ur harddrive
Kuniva
--------------------------------------------
|
|
|
|
|
I am a little confused about how exactly these two functions can work with each other. I would like to make a call to select and then make a call to recvfrom() so as to allow for a timeout period. So if my socket does not recvfrom() anything within lets say four seconds then I need to send a "timed out" error to the output box. I have read the msdn reference on select() but I don't really understand.
Thank you,
Eric Sepich
|
|
|
|
|
The best resource I can give you is the Winsock Programmer's FAQ[^].
select tells you when there is data waiting to be read from a socket, or when data can be written to a socket, or when a socket is in an error state.
|
|
|
|
|
Hi,
I'm a new member in this message board.
I have a question for you:how i have to change a font in an edit box?
Working in the code?
There's a class?
Thanks a lot.
|
|
|
|
|
CWnd::SetFont would work for you. Have a look at this link [^]
|
|
|
|
|
hello!
I'm interessted in some kind of widows configuring (but don't know how to do it) using MFC or without it (in c++ enviroment). I would like to configure my internet connection from my program. Please help. If you know how to modify some other windows settings, please let me know...
thanks
|
|
|
|