My First Program!
Started by phantom3380, Apr 08 2007 11:56 AM
3 replies to this topic
#1
Posted 08 April 2007 - 11:56 AM
Hey everyone, I did it! My first large-scale program which contains everything i have so far learnt - look at it if you want. Its an .exe file but don't worry, it contains no infections i'm positive! ;)
Yea as it was writ: "Compile and Run" :p
|
|
|
#2
Posted 08 April 2007 - 12:51 PM
Thats very neat. One thing I see is when you add the two numbers it only adds integers, might be a better idea to add doubles that way when i enter 8.6 and 8.1 i get 16.7 not 17.
#3
Posted 08 April 2007 - 11:23 PM
Thanks! Yes, I have had a problem with the *basic* "calculator" which means that you cna't add some decimal numbers or a number above...well I set a limit at six thousand or thereabouts cause I got impatient ;)
OOOOOOooooo!!!! A lazy mans way of inserting a new line:
cout << "" << endl; (kept getting muddled up with \n!)
The modifications are being made, and I'm gonna add some vectors and constants somewhere 2...
OOOOOOooooo!!!! A lazy mans way of inserting a new line:
cout << "" << endl; (kept getting muddled up with \n!)
The modifications are being made, and I'm gonna add some vectors and constants somewhere 2...
Yea as it was writ: "Compile and Run" :p
#4
Posted 19 April 2007 - 11:43 PM


Sign In
Create Account



Back to top










