Programming in C++
Unit – I
Unit – I
Introduction to C++: Applications,
Example Programs, Tokens, Data Types, Operators, Expressions, Control
Structures, Arrays, Strings, Pointers, Searching and Sorting Arrays.
Functions: Introduction, Prototype,
Passing Data by Value, Reference Variables, Using Reference Variables as
Parameters, Inline Functions, Default Arguments, Overloading Functions, Passing
Arrays to Functions.
Object Oriented Programming: Procedural
and Object-Oriented Programming, Terminology, Benefits, OOP Languages, and OOP
Applications.
Unit
– II
Classes: Introduction, Defining an
Instance of a Class, Why Have Private Members? Separating Class Specification
from Implementation, Inline Member Functions, Constructors, Passing Arguments
to Constructors, Destructors, Overloading Constructors, Private Member
Functions, Arrays of Objects, Instance and Static Members, Friends of Classes,
Member-wise Assignment, Copy Constructors, Operator Overloading, Object
Conversion, Aggregation.
Unit
– III
Inheritance: Introduction, Protected
Members and Class Access, Base Class Access Specification, Constructors and
Destructors in Base and Derived Classes, Redefining Base Class Functions, Class
Hierarchies, Polymorphism and Virtual Member Functions, Abstract Base Classes
and Pure Virtual Functions, Multiple Inheritance.
C++ Streams: Stream Classes, Unformatted I/O
Operations, Formatted I/O Operations.
Unit – IV
Exceptions: Introduction, Throwing an
Exception, Handling an Exception,
Object-Oriented Exception
Handling with Classes, Multiple Exceptions, Extracting Data from the Exception
Class, Re-throwing an Exception, Handling the bad_alloc Exception.
Templates: Function
Templates–Introduction, Function Templates with Multiple Type, Overloading with
Function Templates, Class Templates – Introduction, Defining Objects of the
Class Template, Class Templates and Inheritance, Introduction to the STL.
Text Tony Gaddis, Starting out with C++: from control structures through
objects (7e)
References B. Lippman, C++ Primer
Bruce Eckel, Thinking in
C++
K.R. Venugopal, Mastering C++
Herbert Schildt, C++: The
Complete Reference
Bjarne Stroustrup, The C++
Programming Language
Sourav Sahay, Object
Oriented Programming with C++
No comments:
Post a Comment