06EC661 - PROGRAMMING IN C++ |
PART – A |
UNIT – I |
C++, AN OVERVIEW: Getting started, the C++ program, Preprocessor
Directives, The Built-In Array Data Type, Dynamic Memory Allocation and
Pointers, An Object – based Design, An Object-Oriented Design, An
Exception – based Design, An array. |
UNIT – II |
THE BASIC LANGUAGE: Literal Constant, Variables, Pointer Type,
String Types, const Qualifier, Reference Types, the bool type, Enumeration
types, Array types. The vector container type. |
UNIT – III |
OPERATORS: Arithmetic Operators, Equality, Relational and Logical
operators, Assignment operators, Increment and Decrement operator, The
conditional Operator, Bitwise operator, bitset operations. Statements: if,
switch, for Loop, while, break, goto, continue statements. |
UNIT – IV |
FUNCTIONS: Prototype, Argument passing, Recursion and linear function. |
PART – B |
UNIT – V |
EXCEPTION HANDLING: Throwing an Exception, Catching an
exception, Exception Specification and Exceptions and Design Issues.
|
UNIT – VI |
CLASSES: Definition, Class Objects, Class Initailization, Class constructior,
The class destructor, Class Object Arrays and Vectors. |
UNIT – VII |
Overload Operators, Operators ++ and --, Operators new and delete. |
UNIT – VIII |
Multiple Inheritances, public, private & protected inheritance, Class scope
under Inheritance. |
REFERENCE |
TEXT BOOKS: |
1. C++ Primer, S. B. Lippman & J. Lajoie, 3rd Edition, Addison
Wesley, 2000. |
Reference Books |
1. C++ Program Design: An Introduction to Programming and
Object- Oriented Design. Cohoon and Davidson, 3rd Edn. TMH
publication. 2004.
2. Object Oriented Programming using C++, R. Lafore, Galgotia
Publications, 2004. |
|