Basic Structure of C++

http://programming.fashionandcs.com

Basic structure of C++ program



The four basic terms uses for C++ program are as follow:


    #include < iostream >
    using namespace std;
    int main()
    return 0;

In the program it will be written as:
#include < iostream >
using namespace std;
int main()
{
(statement)
return 0;
}

Comments

Popular posts from this blog

How to display the output in C++