Introduction To C++
Introduction To C++
Pandiya Rajan. G
Assistant Professor,
Department of IT,
National Engineering College.
HISTORY OF C++
• C++ is a multi-paradigm programming language
that supports object oriented programming
(OOP) created by Bjarne Stroustrup in 1983 at
Bell labs.
• C++ is an extension of C programming and the
programs written in C language can run in C++
compiler.
• The development of C++ actually began four
years before its release, in 1979.
• It did not start with the name C++. Its first name
was C with classes.
* 2
HISTORY OF C++
• In the late part of 1983, C with classes was
first used for AT&T’s internal programming
needs.
* 8
STANDARD LIBRARIES
• The C++ Standard Library can be categories into
two parts:
o The standard function library :
This library consists of general-purpose, stand-alone
function that are not part of any class. The function
library is inherited from C.
o The object oriented class library :
This is a collection of classes and associated function.
* 9
STRUCTURE OF C++
* 10
SIMPLE PROGRAM C++
#include<iostream.h> /*Header File*/
int main() /*Main Function*/
{
cout<<"\n*HELLO*\n"; /*Output Statements*/
}
* 11
C++ DATATYPES
* 12
Sample C++ Program
* 13