C++ Cout Result Missing

I'm just learning C++ going through a tutorial using Visual C++ 2008 Express Edition. My cpp file has the code below but when I run it all I get is a command window with the words "Press any key to continue...". Shouldn't I be getting two windows with "This is the initial string content" in one and "This is a different string content" in the other?

// my first string
#include <iostream>
#include <string>
using namespace std;

int main3 ()
{
string mystring;
mystring = "This is the initial string content";
cout << mystring << endl;
mystring = "This is a different string content";
cout << mystring << endl;
return 0;
}
The entry point is main, not main3.
remove that '3' from the function name and try it again
Topic archived. No new replies allowed.