Dear friends:
I wrote my c++ console program with vs2008, and everthing is ok.
But i open it with vs 2010, the consol window dispear after the code run.I can not see the output resutls in console window.
could you please help me out.
Regards

Add a line at the end of main() (e.g. cin.get() )to keep the window open

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.