Let's learn C++: Lec02 What is that meaning of the program(Hello World)?
Before learning C++ detail, I would like to give you a whole abstraction at first. For learning syntax, you would know, actually, it is like a "spell" in Harry Potter. You need to combine several correct words to instruct your computer how to achieve what you want in that program. ex. #include<iostream> using namespace std; int main(){ cout<<"Hello World"; } cout<<"Hello World"; →it is an instruction to print out "Hello World" on command line, and this cout is stored in a namespace std to let you use, but also included in a library <iostream> . Now, you have some jobs, if you do not have any idea about what is " namespace and library ", I suggest you can google it. As what I said, you need to learn these instruction in a program at first, and then you just start to throw the "spell" to do a magic. For me, if let me explain " namespace and library " briefly here, li...