I just purchased "Sams Teach Yourself C++..." and it came along with the Bloodshed Compiler. I am experiencing a problem running the first program that is on page 14. The compiler compiles successfully, but there is no "Hello world" output.
The monitor screen just goes blank for a second or two and returns to the compile window without producing the output.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Then go to the folder where the program is saved.
To do so write in the console the following:
cd C:\FOLDER
where FOLDER is the folder where the executable is saved. Then write hello.exe (or whatever your executable is called).
Hope this Helps.
Fernando
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just purchased "Sams Teach Yourself C++..." and it came along with the Bloodshed Compiler. I am experiencing a problem running the first program that is on page 14. The compiler compiles successfully, but there is no "Hello world" output.
The monitor screen just goes blank for a second or two and returns to the compile window without producing the output.
Please read the faq.
http://www.bloodshed.net/dev/faq.html#pause
You may also leave the progam "as is" and open a console. To do so follow
Start>>MS DOS prompt
Then go to the folder where the program is saved.
To do so write in the console the following:
cd C:\FOLDER
where FOLDER is the folder where the executable is saved. Then write hello.exe (or whatever your executable is called).
Hope this Helps.
Fernando