Unit III . Introduction C++ is one of the most popular programming language which supports both procedural and Object Oriented Programming paradigms. Thus, C++ is called as a hybrid language. C++ is a superset (extension) of its predecessor C language.
Bjarne Stroustrup named his new language as “C with Classes”. The name C++ was coined by Rick Mascitti where ++ is the C language increment operator. Bjarne is a Danish Computer Scientist born on 30th December . He has a Master degree in Mathematics and Computer Science in from Aarhus University, Denmark and Ph.D in Computer Science in from the University of Cambridge, England.
Bjarne Stroustrup Inventor of C++ Programming Language History of C++ C++ was developed by Bjarne Stroustrup at AT & T Bell Laboratory during . C++ is originally derived from C language and influenced by many languages like Simula, BCPL, Ada, ML, CLU and ALGOL . Till , it was referred “New C” and “C with Classes”. In , the name was changed as C++ by Rick Mascitti.
Benefits of learning C++ • C++ is a highly portable language and is often the language of choice for multi- device, multi-platform app development. • C++ is an object-oriented programming language and includes classes , inheritance , polymorphism , data abstraction and encapsulation . • C++ has a rich function library. • C++ allows exception handling, inheritance and function overloading which are not possible in C.
• C++ is a powerful, efficient and fast language. It finds a wide range of applications – from GUI applications to 3D graphics for games to real-time mathematical simulations. Chapter Page - - . Character set Character set is a set of characters which are used to write a C++ program.
A character represents any alphabet, number or any other symbol (special characters) mostly available in the keyboard. C++ accepts the following characters. Alphabets A …. Z, a …..
z Numeric …. Special Characters + - * / ~ ! @ # $ % ^& [ ] ( ) { } = >< _ \