so8991 2014. 12. 10. 17:55

As you might know, we should have a developing tool and a debugger in order to start to program C++.

Go to google -> Find CodeBlock -> Click download -> Click Download Binary -> Download IDE binary file by different OS environment.


#include <iostream>    // preprocessor directive ==> File!

using namespace std;    //standard library : another thing that is built in C++ ==> Library!

int main(){        //What type of data you're gonna working with(int) - Name of the function(main)

cout<<"Hello World!"<<endl; 

return 0;            //return value

} //opening and closing curly braces


//Function : All computer programs are made up of functions. Functions are things you want computer to do.

All functions are made up of statements, basically instructions


* cout : output stream object

* << : Stream insertion operator

* endl : End line, or go to the next line


These are the basic stuff how a computer program is made.