From: Jeff C. <ja...@sp...> - 2001-11-29 15:43:09
|
Hello, I'm new to C++ development; in fact I'm trying to learn by "Sams Teach Yourself C++". I have installed Dev-C++, and have written a test program, the program compiles, but when running it, it only flashes quickly on the screen. My system is a Pentium III with Windows 2000 installed, the program is stated below, as it is in the book: #include <iostream.h> int main() { int x = 5; int y = 7; cout << "\n"; cout << x + y << " " << x * y; cout << "\n"; return 0; } ????? What am I doing wrong that the program when executed does not stay up on the screen???? Sincerely, Jeff |