Quesion about VS 2012 Ultimate

Hi guys,
I have a code which was compiled with no problems and I want to run the program?
How do I do it? (I'm using Visual Studio 2012 Ultimate)
I've click CTRL+F5 but it opened me a blank page.

Thanks guys, Cheers.

Last edited on
Try setting a breakpoint in your program and run it in debug mode so that the console window stays open long enough for you to see.
this is still a blank page.
This is a code I have in a .cpp file and I want to run it:

1
2
3
4
5
6
7
8
9
10
#include <iostream>

using namespace std; 

int main(){ 
	cout<< "hello world";
	cout<<"cplusplus.com"; //breakpoint
	cout << "i need some help"; 
return 0;
}


and I still see nothing on the screen.
Why?

Thanks
You're not flushing the output buffer.
You need to add a call to endl on each cout statement.
 
cout<< "hello world" << endl;


Also see this thread:
http://www.cplusplus.com/forum/beginner/1988/

Still not working.
Someone else?
Topic archived. No new replies allowed.