Coding & programming
Installing CodeBlocs compiler
C language
C++ language
© The scientific sentence. 1998-2016
| Â |
|
Programming with C/C++ Language
Microsoft Visual Studio compiler
Hello World program in C++
1. First program on Microsoft Visual Studio
As all Microsoft products, Visual Studio is
commercial.
Once this software is installed, follow these steps:
Double click on :
New project
Visual studio
Other language
Visual C++
Empty Project
   Name  Hello World
   Location  C:\locations\Projects
   Solution name  Hello World
OK
Source Files (from the box at right)
Next Item (third block)
C++File(.cpp)
   Name  main.cpp
   Location  C:\locations\Projects\Hello World\
Add
Tape the following:
#include
using namespace std;
int main()
{
cout << "Hello World !" << endl;
system("pause");
return 0;
}
To execute
Local Windows Debugger (at the middle)
Have fun,
|
  |