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;
}
Printable View
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
before your return statement.Code:system("PAUSE");
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.
Nope,same.
Yea it worked.