Write hello world but having problem seeing output

Feb 10, 2012 at 1:10am
I know this post was already been done. I am still confused about it.
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}

I added this to VB studio 10 express and it said succeed but I did not see an output on my input. I tried almost everything that was suggested but it is still not coming.


I would appreciate any suggestion.
Feb 10, 2012 at 1:14am
You may need to pause the program at the end. It may be closing before you see anything.

I usually do a:

cin >>pause_ch;

toward the end, until such time as it becomes a pita for running.
Feb 10, 2012 at 1:28am
addcin.get(); before return 0
Feb 12, 2012 at 9:38pm
thanks!
Topic archived. No new replies allowed.