hello world
Here is a overview of Standard C++ Library reference
basic.cpp
#include <iostream>
// line comment
/* block comment */
/* my second program in C++
with more comments */
int main()
{
std::cout << "Hello World!\n"; // prints Hello World!
return 0;
}
using namespace
#include <iostream>
using namespace std;
int main(){
cout<<"hello world"<<endl;
return 0;
}
what you will learn?
- how to install IDE
- write the 1st program "hello world"
- explain each line of the "hello world" program
- make comments in 2 ways
- use namespace