OK, I' m just starting C++, I've written a few really simple programs, like calculations and displaying stuff etc. I've used Borland's Turbo C++ 4.5 and DEV C++ to write and compile few of theses progams, I run a Windows XP home OS. The Question I have is: Why, whenever I click on one of the programs I've Compiled with DEV C++ they only flash on screen for a short while then close, without showing what they are supposed to? I haven't tried the ones compiled with Borland C++ on the Xp machine yet.
I know what I tell some of them to do are happening because I glimpsed the ones with the writings that I have written on screen but they close by themselves, the ones I have written that require use inputs wait until the info is entered then close, could anyone give me advice regarding what could be the cause of this.
I've Written a few of these programs using Borland Turbo C++ on an ME system and they run until I close them, I think there is a bit of a difference between DEV C++ and Borland C++, source codes I have written in Dev C++ do not compile on Borland C++ - they return errors and vice versa. Could this be an issue with standards?
This might sound a bit odd to the more experienced people but this is kinda bothering me a bit.