C++ Notes And Programs
Course Description
Unit 1: Introduction to Object Oriented Programming
Unit 2: Basics Of C++ Programming
Unit 3: Classes And Objects
Unit 4: Operator Overloading
Unit 5: Inheritance
Unit 6: Virtual Function , Polymorphism and Miscellaneous C++ Features
Unit 7: Function Template and Exception Handling
Unit 8: File Handling and Streams
Unit 1: Introduction to Object Oriented Programming
- OOP approach
- Characteristic Of OOP
Unit 2: Basics Of C++ Programming
- C++ Program Structure
- Character Set & Tokens
- Data Types
- Type Conversion
- Preprocessor Directives
- Namespace
- I/O Streams and Manupulators
- Dynamic Memory Allocation with new and delete
- Control Statement
- Function
- Scope/ Visibility and Storage Class
- Pointers
Unit 3: Classes And Objects
- A Simple Class & Object
- Accessing members of Class
- Initialization of Class Object
- Constructor & Destructor
- Function Used In Class
- Memory Allocation of Object
- Static Data Member
- Member Function Outside The Class
Unit 4: Operator Overloading
- Fundamentals Of Operator Overloading
- Overview of unary and binary Operator
- Prefix and Postfix unary Operator
- Overloading Binary Operator
- Data Conversion
Unit 5: Inheritance
- Introduction to Inheritance
- Derived Class & Basic Class
- Access Specifier
- Overriding member Function
- Types Of Inheritance
- Abstract Base Class
- Public and Private Inheritance
- Constructor & Destructor in derived classes
- Ambiguity in multiple inheritance
- Aggregation ( class within class )
Unit 6: Virtual Function , Polymorphism and Miscellaneous C++ Features
- Concept Of Virtual Function
- Late Binding
- Virtual Destructor and Virtual Base Class
- Friend Function , Friend Class
- Static Function
- Assignment and copy initialization, Copy Constructor
- This Pointer
- Concrete Classes
- Polymorphism and its role
Unit 7: Function Template and Exception Handling
- Function Templates
- Function Templates with multiple arguments
- Class Templates
- Template and Inheritance
- Exception Handling
- Multiple Exception
- Use of Exception Handling
Unit 8: File Handling and Streams
- Stream Class Heicharcy For Console I/O
- Unformatted I/O
- Formatted I/O with ios Member function
- Formatting with Manupulators
- File I/O Streams
- Opening And Closing Files
- Read/Write from File
- File Access Pointer and their Manupulators
- Sequencial , Random Access to Files
- Testing Errors During File Operations
- Stream Operator Overloading
No comments