I know that when a program runs through Quincy there is always a message in the DOS window that reads something like "Press enter to return to Quincy" when the program is done running. I use Dev C++...
Type: Posts; User: Birdhaus
I know that when a program runs through Quincy there is always a message in the DOS window that reads something like "Press enter to return to Quincy" when the program is done running. I use Dev C++...
When I run my program it asks for the food and drink total but after I enter the amount and hit "enter" the program just ends. I just want a little help as to what I'm doing wrong please.
...
Here is my program. I'm not completly done yet, but I'm getting an error message when I compile and I can't figure out what I'm doing wrong either with the way I wrote the class or the way I called...
Sorry, I ment in the function "void showName"
I was told to use the if statement. So how should it work??
Once I know how to do that then I'll know how to do the showNameLevel function as well
I've provided the whole program so anyone can tell what I'm trying to accomplish. In my last two sub-functions how am I going to keep the loop going after it finds a name (if there is more than one...
Had a compile error. I'm not sure if my sub functions should be void functions but I'm pretty sure they should be becuase they aren't returning anything to the main function.
Here is a bit of my...
That helped me a ton also. Thanks for all the help on both my threads. Saved me some massive time. Really apprciate it.
Now that helped a lot. Didn't think to use the argc and argv except in my switch statement. Appreciate the help. Thanks a lot.
I made my own structure called person it consists of
struct person
{
char personName[30];
int amLevel;
The only problem with that is I have to read all of the data from the first program. What I really want to know is what to pass my sub functions. For instance
// I know this
c:\>program11b //...
I have a read program and a write program. The first is just the write and I'm pretty sure it works. It compiles. My real problem comes with the next program. How am I supposed to make the program...