Results 1 to 2 of 2

Thread: need a tip

  1. #1
    Pikachu's Flea Collar Reputation: 10

    Join Date
    Apr 2010
    Rep Power

    Default need a tip

    Hello! I was working on my program (im still a newbie) and I got a problem. My program starts, shows the information very very fast and closes itself. I know about command "cin.get()" but it doesn't work somewhy (just throws a lot of errors). So any command which would make my program last longer?

  2. #2
    Firor's Fury Reputation: 87

    Join Date
    Mar 2009
    Rep Power


    return 0; ?

    Edit: I just noticed... cin.get() has no semicolon at the end. You need to end all functions with a semicolon.
    Last edited by Mime Taxidermy; 05-30-2010 at 03:32 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts