3.2 Introduction to object-oriented programming and C++
Second Year
Part III Group A Third
Semester Subject
Code:
Unit
- 1
Software crisis – Software Evolution – Basic
concepts of Object oriented programming – Benefits of OOP – Object Oriented
languages – Applications of OOP – Applications of C++ - More C++ statements –
Structure of C++ - program – Creating the source file – compiling and linking –
Tokens – Keywords – Identifiers – Basic data types – User defined data types –
Derived data types – Symbolic constants – Types compatibility – Declaration of
variables – Dynamic initialization of variables - Reference variables – Operators in C++ -
Manipulators – Type cast operator – Expressions and implicit – Conversions –
Operator overloading – Control structures – Tem main function – Function
prototyping – Inline functions – Function Overloading – Friend and virtual
functions.
Unit
- 2
Specifying
a class – Defining a member functions – marking an outside function Inline –
Nesting of Member functions – Private member functions – Arrays within a class
– Memory allocation for object static data members – Static member functions
arrays of objects – Objects as function arguments – friendly functions –
returning objects consent member functions pointers to members – constructions
– parameterized constructor multiple constructors in a class – constructors
with default arguments – dynamic initialization of objects – copy constructor –
constructing two dimensional arrays – destructors.
Unit
- 3
Defining
operator overloading – overloading – unary operators – overloading binary
operators – overloading binary operators using friends – Manipulation of
strings using operators – Rules for overloading operators – Type conversions –
Defining derived classes – single inheritance – Making private member
inheritable – Multilevel inheritance – Multiple inheritance – Hierarchical
inheritance – Hybrid Inheritance – Virtual base classes – Constructors in
derived classes – member classes : nesting of classes.
Unit
- 4
Pointer
to objects – this pointer – pointers to derived classes – virtual functions –
pure virtual functions – C++ stream classes Unformatted I/O operation –
Managing output with manipulators.
Unit
- 5
Classes
of file stream operations – Opening and closing a file – Detecting end of file
– more about open() – File modes file pointers and their manipulation –
Sequential input and output operations – Command line arguments.
TEXT
BOOK:
Object Oriented Programming With C++
- E.Balagurusamy
Tata McGraw Hill publishing Company
Limited 1998.Chapters 1 to 11
REFERENCE
BOOK:
C++ the complete reference – Herbest
Schild TMH 1998
No comments:
Post a Comment