Text dont show up.

Hi i'm very new to c++.

I have a problem that the text that i print does not show up in the exeutable it only shows the press anykey to continue text.
the code is
1
2
3
4
5
6
7
8
9
10
#include <iostream>

using namespace std;

int main()
{
    cout << "Text";
    cout << "Another text";
    return 0;
}


I'm using dev c++ 4.9.9.2 if that makes any difference.
I'm using dev c++ 4.9.9.2 if that makes any difference.
Don't use Dev-C++ http://www.cplusplus.com/forum/articles/7263/

You may need to flush standard output ( output a newline and that should suffice )
Thank you bazzy evrything works now :D
Topic archived. No new replies allowed.