Contact Us || Privacy Policy || About Us |
|
What is C++C++ is case-sensitive High level language but having Low-level facilitites. This language is based on Two existing language, namely C & Simula. C++ include the flexibility & efficency of C & the Object oriented programing features of Simula.. OOPs ConceptsC++ supports the object oriented programming(OOPs) Concepts that is
Where usage of C++
Structure of C++ ProgramC++ program structure is divided into various section, namely headers, class, defination,member functions definations and main function. Note:- C++ provides the flexibility of writing a program with or without class. A simple C++ program(without a class) includes comments, headers, namespace, main() nad input/output statement. Where Explain here.
1) What is Comment in C++C++ supports two comments style that is
2) Explain the Headers(#include <iostream>) in C++.The standards headers contain the information like prototype, defination and return type of library function, data type of constants, etc. The stnadard streams deined in <iostream> are listed here.
3) Explain the Namespace in C++.A namespace permits grouping of various entities like
4) Explain the Main Function in C++.The main() is startup function that starts the execution of a C++ program. All C++ statements that need to be executed are written within main() . The compiler executes all the instruction written within the opening and closing curly braces'{}' that enclosed the body of main(). 5) Explain the The Input/Output Operator in C++.In C++, Input and Output operator are used to take input and display output. Application of C++Some of them are given here.
Next TopicHistory of C++
|