×
THE FUTURE DEPENDS ON WHAT YOU DO TODAY
--Your friends at LectureNotes
Close

Object Oriented Programming Using Cpp

by Grace ShaliniGrace Shalini
Type: NoteViews: 20Uploaded: 9 months ago

Share it with your friends

Suggested Materials

Leave your Comments

Contributors

Grace Shalini
Grace Shalini
www.Vidyarthiplus.com CS 6456 OBJECT ORIENTED PROGRAMMING A Course Material on OBJECT ORIENTED PROGRAMMING By Mr. K.TAMILVANAN ASSISTANT PROFESSOR DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING SASURIE COLLEGE OF ENGINEERING VIJAYAMANGALAM – 638 056 1 www.Vidyarthiplus.com
www.Vidyarthiplus.com CS 6456 OBJECT ORIENTED PROGRAMMING QUALITY CERTIFICATE This is to certify that the e-course material Subject Code : CS 6456 Subject : Object Oriented Programming Class : II Year EEE Being prepared by me and it meets the knowledge requirement of the university curriculum. Signature of the Author Name: Designation: This is to certify that the course material being prepared by Mr. K. Tamilvanan is of adequate quality. He has referred more than five books among them minimum one is from aboard author. Signature of HD Name: Mr. S. Sriram SEAL 2 www.Vidyarthiplus.com
www.Vidyarthiplus.com CS 6456 OBJECT ORIENTED PROGRAMMING S.NO CONTENTS PAGE NO Unit I – OVERVIEW 1.1 1.2 1.4 1.5 1.6. Why Object-Oriented Programming in C++ 9 1.1.1 History of C++ 9 1.1.2 Why C++? 9 Native Types 10 1.2.1 Implicit conversions (coercion) 10 1.2.2 Enumeration Types 10 1.3 Native C++ Statements 11 Functions and pointers 11 1.4.1 functions 11 1.4.2 Declarations 12 1.4.3 Parameters and arguments 13 1.4.4 Parameters 14 1.4.5 by pointer 14 Pointers 17 1.5.1 Pointer Arithmetic 18 Implementing Adts In The Base Language. 19 1.6.1Simple ADTs 19 1.6.2 Complex ADTs 19 3 www.Vidyarthiplus.com
www.Vidyarthiplus.com CS 6456 OBJECT ORIENTED PROGRAMMING 2.1 UNIT II -BASIC CHARACTERISTICS OF OOP Data Hiding 21 2.2 Member Functions 22 2.2.1 Defining member functions 22 Object Creation And Destruction 23 2.3.1 Object Creation 23 2.3.2 Accessing class members 24 2.3.3 Creation methods 26 2.3.4 27 2.3 Object destruction Polymorphism And Data Abstraction 28 2.4.1 Polymorphism 28 Data Abstraction 30 2.5.1 Procedural Abstraction 30 2.5.2Modular Abstraction 31 2.5.3 Data Abstraction 31 2.6 Iterators 33 2.7 Containers 34 2.4 2.5 UNIT III -ADVANCED PROGRAMMING 3.1 Templates 36 3.1.1 Templates and Classes 38 3.1.2 Template Meta-programming overview 42 3.1.3 Compile-time programming 42 3.1.4 The nature of template meta-programming 42 4 www.Vidyarthiplus.com

Lecture Notes