I just started learning C++ w/ The Complete Idiot's Guide to C++, so if I sound a little green around the gills I am. 🙂
Anyways, here's my problem: I typed in everything that the book told me to for my first program. Here's the code:
#include <iostream.h>
main()
{
cout << "testing this out... ";
return(0);
}
I compiled it and it told me there were no errors.
So when I ran the program, the screen flashed up for a second and disappeared. I ran it again, and it did the same thing. The screen looked right, so I don't THINK I typed something in wrong...
I downloaded a C++ compiler called Dev-C++, might that have something to do with it?
thanks for putting up with a newbie's cry for help. if you can think of what I might be doing wrong please let me know. God bless!
~Kitti