hello world code


 #include<iostream>

using namespace std;

// or use "std::" before cout_function
/*this
is
a
multiline
comment*/
/*comment is not red by the compiler
how many lines space does not matter in c++*/


int main() {
    cout<< "hello world";
    return 0;

}

Comments

Popular posts from this blog

Function Overloading in C++

oops recall, basic operations and nesting of member functions

OBJECT ORIENTED PROGRAMMING, classes public and private access modifiers (syntax)