+ 3
What does the following mean...#include <iostream>....using namespace std; .... <<cout"hello world" ....return 0;
3 Respuestas
+ 10
#include <iostream>
// includes the iostream header file which contains the libraries which allows you to get user input and output stuff to the console. Imagine if you're going to work, and you need to bring your brain in order for you to function normally. ... yeah.
using namespace std;
// So turns out that you need to tell everyone that hey, you are using your brain to function before doing something. You think this is ridiculously tiresome and want to cut short of the obvious. So this line enables everybody to know that you are using your brain without you telling them.
int main()
// this is where you enter your office and begin to work
cout << "Hello World!";
// You go into your office and shout out to everyone listening. "Hello World!"
return 0;
// You leave your office after completing your work.
+ 1
thanks Rei
+ 1
thx