The following C++ program requires any C++ compiler but I assume it is Microsoft Visual C++ compiler...Microsoft Visual C++ Express edition is a free download from Microsoft.
Open Notepad and write the following source:
Save it to your desktop as hello.cpp and execute the following command at Visual Studio Command Prompt: cl hello.cpp...If there are no errors in the source code two files will be created: hello.obj and hello.exe...To run the program just type hello or hello.exe at your command prompt...
Cheers-guestworm
No comments:
Post a Comment