I’m starting out in Visual C++ and I’d like to know how to keep the console window.

For instance this would be a typical “hello world” application:

int _tmain(int argc, _TCHAR* argv[])
{
    cout << "Hello World";
    return 0;
}

What’s the line I’m missing?

22 Answers
22

Leave a Reply

Your email address will not be published. Required fields are marked *