×
Every problem might not have a solution right now, but don’t forget that but every solution was once a problem.
--Your friends at LectureNotes
Close

Note for Object Oriented Programming Using Cpp - OOP By Grace Shalini

  • Object Oriented Programming Using Cpp - OOP
  • Note
  • 6 Topics
  • 38 Views
  • Uploaded 1 year ago
Grace Shalini
Grace Shalini
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-2

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

Text from page-3

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

Text from page-4

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

Text from page-5

www.Vidyarthiplus.com CS 6456 3.2 3.3 3.4 3.5 3.6 OBJECT ORIENTED PROGRAMMING 3.1.5 Building blocks 44 Generic programming 47 3.2.1 Type parameter 47 3.2.2 A generic function 48 3.2.3 Subprogram parameters 48 Standard Template Library (Stl) 49 3.3.1 History 50 3.3.2 List of STL implementations. 51 3.3.3 containers 51 3.3.4 Linked lists 55 3.3.5 Maps and Multimaps 56 3.3.6 Iterators 57 3.3.7 Functors 58 3.3.8 Allocators 61 Inheritance 62 3.4.1public inheritance 63 3.4.2 Types 64 Exception Handling 70 3.5.1 Constructors and destructors 74 3.5.2 Partial handling 76 3.5.3 Exception specifications 80 3.5.4 Run-Time Type Information (RTTI) 81 Oop Using C++ 84 UNIT IV -OVERVIEW OF JAVA 4.1 Data Types, Variables 86 5 www.Vidyarthiplus.com

Lecture Notes