well i have a problem,whenever i try to run my c++ program ,the output window immidiately disappears without showing output,it doesnt even wait to take inputs,i have used getch(),but the problem is something else...pls help.
well i have a problem,whenever i try to run my c++ program ,the output window immidiately disappears without showing output,it doesnt even wait to take inputs,i have used getch(),but the problem is something else...pls help.
Run your program from a command prompt window.
Or you can wait for input, which apparently you did (with getch()), but did not quite do correctly. Of course, since you did not show your program, I shall refrain from using my psychic powers to rip it from your mind lest I render you insane or without intelligence due to carelessness.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
And/or read this.