Exit problem

This is a discussion on Exit problem within the C++ Programming forums, part of the General Programming Boards category; (yes i am new to this)
OK anyways whenever i write a program (most short but still), after i compile ...

Exit problem

(yes i am new to this)

OK anyways whenever i write a program (most short but still), after i compile and run it, the program exits the second it is done with the last step (without letting you read what is displayed) i use the dev c++ compiler in windows xp. for a simple example say there is a program to display a message