Visual C++

Moderators: Lundin
Number of threads: 379
Number of posts: 695

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Problem beginning a console application Posted by Fraaaaag on 24 Mar 2009 at 12:11 PM
Hi, I just created a win32 console application with VC++6 and debugged it.
#include <iostream>
using namespace std;

int main()
{
   cout << "b";               // Start output on a new line
  return 0;
}

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!
Thread Tree
Fraaaaag Problem beginning a console application on 24 Mar 2009 at 12:11 PM
anthrax11 Re: Problem beginning a console application on 24 Mar 2009 at 2:23 PM
Fraaaaag Re: Problem beginning a console application on 24 Mar 2009 at 2:57 PM
anthrax11 Re: Problem beginning a console application on 24 Mar 2009 at 3:58 PM
yby538 Re: Problem beginning a console application on 24 Mar 2009 at 8:11 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.