My c++ program is error free but it not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Poonam k
    New Member
    • Sep 2013
    • 1

    My c++ program is error free but it not running

    hello sir,
    my c++ program is not running. it is compiling but not running.. after clicking on Run option it is just showing black screen and get back on source code.
    Please tel me what settings should would i change.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Probably, the black screen was your program running.

    Do you have a cin or something like that at the end of the program so it stops long enough for you to read the screen?

    Comment

    • raghavisayee
      New Member
      • Sep 2013
      • 9

      #3
      if u hav used conio.h,make sure whether u hav used getch() too with it at the end of ur program

      Comment

      Working...