per, easy on the newbie. :D
seriously, if you're coming in from a visual c++
background, dev-c++ can be very annoying when it comes
to console applications staying open. you can add a
system("pause") call at the end of your program, but
it won't work for some cases (eg destructors getting
called @ the end of main()). so you can do what visual
c++ does - run your program from a batch file which
contains your program name, then a call to pause, or
generally open a console window, and manually run your program.
___________________________________________________________
WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes
|