Eclipse IDE - CMD Pops Up, Then Hides, No Output on Console Window!!

Hmm... lazy copypaste from reddit, but in this case it might actually be a human since they seem to be in a hurry.
theminer, can you please reply to this with more info?

Run your program through the command line to see the output even after it crashes.
Or, better yet, use Eclipse's debugger and it will probably tell you the line it crashes on.
Last edited on
What's the chance that the program is just crashing at startup (or soon after)?

Open an actual console window, "cd" to your project directory and try running the program manually.

At least you might find out why it's barfing early.
system pause may not be understood by a unix ported compiler/subsystem. its a windows console command meant for batch file use.
just do this

cout << endl;
int duh;
cin >> duh;
where you want to pause.
type a number and enter when you want it to finish.

The Cygwin shell will behave the same way, whereas running it from the command line does know how to call pause.
Last edited on
Topic archived. No new replies allowed.