All I'm trying to do is run a simple "Hello World" program, but the output window closes immediately after the function starts running. I'm using Microsoft visual C++ 2008 if that helps, here's my code:
#include "stdafx.h"
#include
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
Please help.
#include "stdafx.h"
#include
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
Please help.