Hello World for C++ in a Visual Studio

Feb. 10, 2017 | smlee36 | #seneca, #c++, #beginner, #visualstudio, #helloworld, #Abdi

This is an ultra simple tutorial for making 'Hello World' c++ program in a Visual Studio.

TOC


Run Visual Studio

After run a Visual Studio and choose

create project

create project

create project

create project

create project

create project

#include <iostream>

using namespace std;

int main() {
    cout << "Hello World!" << endl;
    return 0;
}

create project

Run the Program

create project

'Hello World!' console windows is displayed.


Next: How to debug C code in Visual Studio

Next: How to Debug C Code in Xcode