Hi I am a beginner C++ person and I tried to compile my first Hello World Program. I am using the Sams Teach Yourself C++ book to learn C++ and I have Visual 2012 Professional. I created a new file using the Win32 Console Application and then checked off Empty Project. I made a new source file and entered the Hello World code as follows;
When I tried to run it using Ctrl F5 I got this message;
"C:\Users\Carl\Documents\C++Stuff\Sams_Project1\Debug\Sams_Project1.exe" is not recognized as an internal or external command, operable program or batch file
What do I need to do to compile and run this program properly? Thanks
Kadaj I seem to have solved the problem but the DOS screen flashes so quickly. I see Hello World only for a split second. How do I get that screen to stay up and not flash away so quickly
Hi vlad. Yes I did use Ctrl + F5 and the screen only comes up for a millisecond. I do now do see the words Hello World but this will be a problem if I make more complicated programs
Thanks Nolan & Vlad & Kadaj
C++ seems to be a very cool language. Numerous ways to skin the cat. Any good books you can recommend that fast track learning of this language. I am going to try and become proficient in it and see if i can get some work doing C++ programming