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.