






























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An introduction to C++ programming, covering its history, features, and basic concepts. C++ is a general-purpose, object-oriented programming language that supports procedural and generic programming. It was developed by Bjarne Stroustrup in 1980 as an extension of the C language, adding object-oriented programming features. the advantages of C++, its history, and its features, such as simplicity, machine independence, mid-level programming, structured programming, rich library, memory management, speed, pointers, recursion, and extensibility.
Typology: Slides
1 / 38
This page cannot be seen from the preview
Don't miss anything!































Lecture N0 1 By Muhammad Shahabz
What is C++
Standard Libraries Standard C++ programming is divided into three important parts:
Usage of C++ By the help of C++ programming language, we can develop different types of secured and robust applications:
C++ history History of C++ language is interesting to know. Here we are going to discuss brief history of C++ language. C++ programming language was developed in 1980 by Bjarne Stroustrup at bell laboratories of AT&T (American Telephone & Telegraph), located in U.S.A.
Bjarne Stroustrup is known as the **founder of C+
Before starting the abcd of C++ language, you need to learn how to write, compile and run the first C++ program. To write the first C++ program, open the C++ console and write the following code: #include <iostream.h> Using namespace std; void main() { cout << "Welcome to C++ Programming."; system(“pause”); }
#include<iostream.h> includes the standard input output library functions. It provides cin and cout methods for reading from input and writing to output respectively void main() The main() function is the entry point of every program in C++ language. The void keyword specifies that it returns no value.
Standard output stream (cout) (^) The cout is a predefined object of ostream class. It is connected with the standard output device, which is usually a display screen. The cout is used in conjunction with stream insertion operator (<<) to display the output on a console (^) Let's see the simple example of standard output stream (cout): #include