1 Introduction of C
1 Introduction of C
• Introduction of C++
• Aim of Teaching
• Learning Outcome
• Prerequisite of topic
• Course Outline
• Assessment Scheme
• References
Introduction of C++
The aim of teaching this course is that students should have conceptual
and practical knowledge of object oriented Programming Concepts with
practical implementation in C++.
Learning Outcome
UNIT -I
Concepts of object oriented programming, Need of Object Oriented
Programming, Characteristics of OOP: Classes & Objects, Inheritance,
Data Hiding, Encapsulation, Polymorphism, Overloading, Classes and
Structures, Classes and Unions
Overview of C++, Compiling & Debugging C++ Program, Basics :
Preprocessor Directives, Header files, Input and Output Streams, Cout,
Cin, Comments, Type Casting, Loops & Decisions : for loop, do loop,
while loop, if statement, if….else, switch, Logical Operators, break,
continue, goto
UNIT -II
C++ streams, Formatted I/O: Formatting using the ios members, Setting
and clearing the format flags, using manipulators to format I/O, Creating
your own manipulators.
Creating Class, Introduction to Constructor, Parameterized constructor,
Multiple constructors, Default arguments constructor, Copy constructor,
Destructor.
Friend function, Friend classes, Inline function, Scope resolution
operator, Static class members: Static data member, Static member
function, Passing objects to function, Returning objects, Object
assignment.
UNIT -III
Text Book
• C++ The complete reference - Herbert Schildt,- TMH Publication
• Object Oriented Programming C++ - R. Lafore
Reference Book
• Object Oriented Programming with C++ - R. Subburaj, Vikas Publishing
House, New Delhi.
• C++- E. Balguruswamy, , TMH Publication