How Do I Compile and Run in Visual C++?

Someone

New member
I've just started programming but how do I run my program?
I typed this in:

// my first program in C++

#include <iostream>
using namespace std;

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

but it won't let me run the program, even if I press F5.
 
Back
Top