0

Weird nothing shows up in console?

I'm in the mid of the cout lessons, I run the program: #include <iostream> using namespace std; int main() { cout << "Hello world! \n" "Programming seems fun!"; return 0; } And the console just sits there for twenty-something seconds and a message pops up: "Process returned 4256912 (0x40F490) execution time : 21.033 Press any key to continue" The two sentences that are supposed to show up, don't... Halp?

3rd Jan 2017, 8:22 PM
Iron Overheat
Iron Overheat - avatar
3 odpowiedzi
+ 6
cout << "Hello world! \n"<<"Programming seems fun!";
3rd Jan 2017, 8:23 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
or just cout<<"Hello world!\nProgramming seems fun!";
3rd Jan 2017, 10:46 PM
Filip
Filip - avatar
+ 1
Still, nothing shows up. It happens even when I try just #include <iostream> using namespace std; int main() { cout << "Hello world!"; return 0; } It still displays nothing. Here's a screenshot of the console: https://drive.google.com/file/d/0B1EYB0gds7ijQnJMMmN3Qlk2dDA/view?usp=sharing
4th Jan 2017, 8:22 PM
Iron Overheat
Iron Overheat - avatar