HELP

Posts 15 of 5 · Page 1 of 1
HELP
My console dont open when i teype this code in dev c++


#include <iostream>
using namespace std;

int main()
{
cout << "Čiv čiv to sem (bil) živ. ";
return 0;
}
Quote Originally Posted by familyguy2 View Post
My console dont open when i teype this code in dev c++


#include <iostream>
using namespace std;

int main()
{
cout << "Čiv čiv to sem (bil) živ. ";
return 0;
}
Are you actually compiling your code and running it? It doesn't just magically run if you type into the editor Try adding

Code:
system("PAUSE");
before your return statement.

Code:
#include <iostream>
using namespace std;

int main()
{
    cout << "Čiv čiv to sem (bil) živ. ";
    system("PAUSE");

    return 0;
}

It may just be instantaneously closing after it prints to the console. Also, this belongs in the programming section.
Quote Originally Posted by familyguy2 View Post
Nope,same.
I edited my post. Read again.
Posts 15 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?