This is an ultra simple tutorial for making 'Hello World' c++ program in a Visual Studio.
After run a Visual Studio and choose
File > New Project
Installed > Templates > Visual C++ > Win32 Console Application
Fill in the blanks like below;
Name: hello, Location: YOUR_WORK_DIRECTORY, Solution name: hello,
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!" << endl;
return 0;
}
'Hello World!' console windows is displayed.
Next: How to debug C code in Visual Studio