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?
3 Answers
+ 6
cout << "Hello world! \n"<<"Programming seems fun!";
+ 5
or just
cout<<"Hello world!\nProgramming seems fun!";
+ 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