MY first c++ program
Started by the_kid, Feb 11 2004 06:24 AM
5 replies to this topic
#1
Posted 11 February 2004 - 06:24 AM
not bad, I made one just like it only it has addition, subtract, mutiplication, and division... Then an extra thing thrown in so that you don't have to reopen the program if you have to do more math... Perhaps I'll post it when I get the chance... not bad for a first program though... Good Job
#2
Posted 11 February 2004 - 12:38 PM
looks good, though I would have prolly used a switch for which function would be used. I also wanted to know what this getch() stuff people seem to put in there progs, I don't get why it's there.
#4
Posted 11 February 2004 - 07:35 PM
I havnt learned switch or anything yet.
#5
Posted 11 February 2004 - 10:12 PM
To hold the information up till someone presses a button. Without it the information would flash past before you could see it.
Hmm, I always used system pause for that.
I havnt learned switch or anything yet.
Well guss that explains it then. Don't really matter for something of this scale I guess as it would show same effect, with more lines.
#6
Posted 12 February 2004 - 05:59 AM
I use system "pause" and getch(), depending on the program I am working on...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users