Compiling with Visual Studio Graphical Interface - Hello World

suggest change
  1. Download and install latest Visual Studio Community
  2. Open Visual Studio Community
  3. Click File -> New -> Project
  4. Click Templates -> Visual C++ -> Win32 Console Application and then name the project MyFirstProgram.
  5. Click Ok
  6. Click Next in the following window.
  7. Check the Empty project box and then click Finish:
  8. Right click on folder Source File then -> Add –> New Item :
  9. Select C++ File and name the file main.cpp, then click Add: 10: Copy and paste the following code in the new file main.cpp:
    #include <iostream>
    
    int main()
    {
        std::cout << "Hello World!\n";
        return 0;
    }

    You environment should look like:

  10. Click Debug -> Start Without Debugging (or press ctrl + F5) :
  11. Done. You should get the following console output :

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Getting started:
* Compiling with Visual Studio Graphical Interface - Hello World

Table Of Contents
0 Getting started
8 Arrays
11 Loops
39 Streams
51 Unions
56 Lambdas
60 SFINAE
62 RAII
67 Sorting
84 RTTI
87 Scopes
104 Profiling
107 Recursion
117 Iteration
125 Alignment
134 Semaphore
136 Debugging
139 Mutexes
142 decltype