Thread: My first 2 c++ program

  1. #1
    Registered User
    Join Date
    Jan 2003

    My first 2 c++ program

    I'm new to c++, but I now have 2 program that I made:

    A Basic calculator ( +, -, *, / ):

    A game in which you need to find the random number:

  2. #2
    Registered User
    Join Date
    Jan 2003
    I forgot to say, Right Click, Save target as...

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    1 - You have a question, or what?
    2 - "Right Click, Save target as" Most people will be able to work that one out for themselves
    3 - Ideally, game progs should be in the Game forum.
    4 - You've only provided the binaries, what use is that?
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    The calculator doesn't even give you a chance to calculate again. Also if you added "cout << "Option: "; cin >> option;" it would be nicer so we could see that you wanted our input and the program didn't just freeze.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM