c++ day 1......Basic syntax of c++ , printing command , comments in c++

preview_player
Показать описание
Here we will discuss one simple and basic C++ program to print "Hello this is C++" and its structure in parts with details and uses.

Header files are included at the beginning just like in C program. Here iostream is a header file which provides us with input & output streams. Header files contained predeclared function libraries, which can be used by users for their ease.

Using namespace std, tells the compiler to use standard namespace. Namespace collects identifiers used for class, object and variables. NameSpace can be used by two ways in a program, either by the use of using statement at the beginning, like we did in above mentioned program or by using name of namespace as prefix before the identifier with scope resolution (::) operator.
Рекомендации по теме
join shbcf.ru