Hi,

I am just starting to learn about C++ and have bought a book (SAMS Teach yourself C++) it had a cd that came with it which has the Dev-C++ IDE compiler on it.

As the book teaches you how to use this compiler in conjunction with the programs it teaches you I am trying to learn how to use it.

I have a problem though, after I have compiled, linked and debugged the programs in the book whenever i try to run them the command prompt screen flashes up for a split second then disappears instead of staying up so I can see the results of what it have done.

I am running WinXP Home and have updated Dev-C to the latest version.

Could anyone give me any ideas as to what I am doing wrong or how I can rectify the problem, I have changed all of the compilers settings to what it says in the book but to no avail!

As i said I am quite new to programing and havent got a clue about whats going wrong!

Thanks in advance for any help!