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
#include
#include
using namespace std;
int main()
{
cout<<"b"<<endl;
system("PAUSE");//I am sure it can used in C,but as C++,I am not sure
return 0;
}