Professional Documents
Culture Documents
Basic C++
Basic C++
Developed By
Bjarne Stroustrup
What is C++?
C++ is an extension of C. Prior to 1983, Bjarne Stroustrup added features to C and formed what he called "C with Classes". He had combined the Simula's use of classes and objectoriented features with the power and efficiency of C. The term C++ was first used in 1983.
Advantage of C++
C++ was designed for the UNIX system environment. Stroustrup found that Simula had features that were very helpful for large software development, but the language was too slow for practical use With C++ programmers could improve the quality of code they produced and reusable code was easier to write.
Versions of C++
Year 1979 1983 1998 2003 2007 2011 C++ Standard Informal name C with Classes C++ [18] C++98 [17] C++03 [16]C++TR1 [15]C++11
Language Basics
Tokens, identifiers & operators Naming conventions Iostream.h file Input and Output operators Cascading of I/O operators
Characteristics of an Object
State Identity Behavior Responsibility
Advantage of OOP
Data Security Modularity Extensibility Scalability
Streams
I/O Streams File I/O Streams Exception Handling
Thank You
13