View Single Post
Old 12-10-2010, 06:28 PM   #3
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

Yes, I wonder how you decided to put them. You need to review C syntax.

http://msdn.microsoft.com/en-us/library/66k51h7a.aspx

Also, why do you use system() so much? Instead of system("pause") you should use getchar() or similar, so the same thing is done by the program itself, instead of having to call an OS command. And what is the purpose of

Code:
system("TITLE Calculator");
system("COLOR 2");
? Are those actual executable files you have? Or are you trying to print those strings?

And you should import the header files with the prototypes for the functions you're using.
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote