C++ Material Lecture Note
C++ Material Lecture Note
4. Process
Rectangle
5. Diamond Decision
Flowchart to Add two Numbers
Start
Num1=23
Num2=12
Sum =Num1+Num2
Print Sum
Start
Fig 1.2
Flowchart to Add twenty Numbers
Brief history of C++
C++ is a middle-level programming language developed by
Bjarne in 1979 at Bell Labs. C++ runs on a variety of platforms,
such as Windows, Mac OS, and the various versions of UNIX.
C++ is regarded as a middle-level language, as it comprises a
combination of both high-level and low-level language features.
2. int main()
3. {
4. cout << "Hello World"; // prints Hello World
5. return 0;
6. }
C++ Program Structure
Let us look at the various parts of the above program: