Moving From C To C++ - I

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Moving from C to C++ ---I Data types Operators Preprocessor Directives Declarations Dynamic Memory Allocation Block Structure

introduced in C++

Moving from C to C++--- II Functions Arrays Structures and Unions Strings Multi file Programs Structure of a C++ program

Object Orientation An Introduction Programming languages before Object Orientation Features of Object Oriented Languages Benefits of Object Oriented Programming Object Oriented analysis and design

Objects and Classes Procedural and Object-Oriented Programming Abstraction and Classes

Class Constructors and Destructors Knowing Your Objects: The this Pointer An Array of Objects Class Scope Abstract Data Types

Working with Classes Operator Overloading Time on Our Hands: Developing an Operator Overloading Example Introducing Friends Overloaded Operators: Member Versus Nonmember Functions More Overloading: A Vector Class Automatic Conversions and Type Casts for Classes

Classes and Dynamic Memory Allocation Dynamic Memory and Classes The New, Improved String Class Things to Remember When Using new in Constructors Observations About Returning Objects Using Pointers to Objects

Class Inheritance Beginning with a Simple Base Class

Inheritance: An Is-a Relationship Polymorphic Public Inheritance Static and Dynamic Binding Access Control: protected Abstract Base Classes Inheritance and Dynamic Memory Allocation

Reusing Code in C++ Classes with Object Members Private Inheritance Multiple Inheritances Class Templates Friends, Exceptions Friend Nested Classes Exceptions Runtime Type Identification Type Cast Operators Input / Output Streams I/O classes Input / Output using functions and flags provided in IOS classes The Manipulators Our Own Manipulators Miscellaneous functions Console Input / Output

Virtual Functions and Polymorphism Polymorphism Pointer to Derived Class objects Virtual Functions Dynamic Binding or Late Binding Pure Virtual Functions Abstract Classes

File Handling Why Files? Files and Stream Classes Text Files Binary Files File Opening Modes Classification of Files

Templates Introduction to Templates Function Templates Class Templates Standard Template Library

You might also like