Problem beginning a console application - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Problem beginning a console application

FraaaaagFraaaaag Posts: 2Member
Hi, I just created a win32 console application with VC++6 and debugged it. [code]
#include
using namespace std;

int main()
{
cout << "b"; // Start output on a new line
return 0;
}
[/code]
When I run it, the msdos command line appears for a second, does nothing, and then disappears. Does anyone know why that is, or how to fix it?

Any help is appreciated!

Comments

Sign In or Register to comment.