Jump to content

My First Program!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
phantom3380

phantom3380

    Newbie

  • Members
  • PipPip
  • 15 posts
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! ;)

Attached Files


Yea as it was writ: "Compile and Run" :p

#2
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
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
phantom3380

phantom3380

    Newbie

  • Members
  • PipPip
  • 15 posts
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...
Yea as it was writ: "Compile and Run" :p

#4
Unknown2dark

Unknown2dark

    Newbie

  • Members
  • PipPip
  • 18 posts
I'm sorry, i meant to make a topic but it looks like i posted here instead, sorry...

Posted Image