Online training of C++ Programming

C++ Programming



Enroll Now
Online training of C++ Programming
Enquire more about the Course

Course Details

Duration: 0 hours Effort: hours per week

Price With GST: ₹9440/-

Subject: Level: Beginner
Prerequisites
Related Course

About this course

What you'll learn

Course Introduction - Format and schedule - Course contents - what to expect from the course - Course format - lectures and workshops, timing - Scope

Object-Oriented Features - Fundamental OO features, embodied in C++ classes - Basic OO concepts, example - Classes: definition, attributes, methods - Customer class: definition/declaration, implementation - File organization: header files, implementation files - Minimum class functions: declaration, implementation

Objects - Two different types of C++ objects and safe waysof handling them - Definition, UML syntax, comparison with classes - Creating C++ objects: automatic, dynamic - Automatic objects: syntax, proper style, common mistakes - Dynamic objects: syntax, features, common mistakes - Managing object pointers to keep them safe.

Constructors - A fundamental OO feature - Constructor role, syntax - Example: header file, implementation file - Constructor with default parameter values - Constructor header, implementation and usage - What we just learned

Encapsulating into an object How a String class can be designed to greatly simplify the Customer class, according to OO strategies We can accomplish more Impact of a String object to the Customer class The String class: features, design, attributes, methods

Destructors The art of describing complex object interactions Role, syntax, usage Code examples with the Customer and Credit classes Header and implementation files for destructors

Associations How objects stay in touch with each other Self-reference, the this pointer Credit and Customer class associations code main(): how the association is used Association UML syntax and examples Reflexive associations for diagraphs, linked lists, hierarchies. Association roles

Inner Classes The proper syntax for private objects and true encapsulation Principles Inline Syntax Header / implementation syntax Code example

C++ References A nicer and safer syntax to handle objects Concept and formal syntax Example with the Person class Methods returning a reference to self Example Brief exercise

Initialization Starting with a value Object initialization Declaration, implementation, usage Member initialization Example with the String and Person classes Initializing primitive type members Formal syntax

C++ Operators - A simple and powerful syntax to handle a natural need - A natural need - Alternate syntax for methods - Examples and formal syntax - Complete case: the Complex class - Internal and external operators

Static - Class members as opposed to object members - Beyond objects: class members - Examples, allocation, initialization

Composition / Aggregation - Objects containing or owning other objects - Definition and UML syntax - The real composition concept - Multiple parts - Aggregation versus composition - Inner class notation - Class type notation

Constant members (const) - A simple syntax to enforce proper OO design strategies - Const members - Const parameters - Const variables - Const methods

Inheritance - Modeling type hierarchies - Definition and UML syntax - Instantiation limitations - Inheritance versus the Is A relationship - Inherited object examples - Multiple sub-classes and multiple inheritance

Inheritance C++ syntax - Coding inheritance in C++ - Derivation model and code: simple inheritance - Multiple inheritance - Initialization according to constructor needs - Initialization according to inheritance type - Example with Contract / Development / Maintenance - Virtual methods

Interfaces - Generalizing a group of methods that form a functional concept - The concept of interface and UML notation - Pure virtual classes and inheritance for interfaces

Exception Handling - Encapsulating and processing exceptions outside the main business logic. - Inner class exception type and value - try, throw and catch - Call stack handling - Throwing objects for better exception handling - Building self-contained exception classes - Building exception class hierarchies - Exceptions with templates - Exceptions and constructors - Exception interface specification

Object Design - Fundamental principles and basic patterns - Specialization, self-sufficiency, interface - Delegation, propagation - A common object design pattern - Application to the Deal model - Multiple and cascading object interactions in C++ - Object sequence and collaboration diagrams

C++ implementation of associations and association classes - Design and coding of the most common relationships - Implementation algorithm - Single or multiple links - Single or bi-directional traversals - References or lists of references - Association classes implementation

Templates - Beyond classes and models: templates and meta models - Concept, flexibility and power - Examples, formal syntax - Header and implementation parts (both in header file) - Complex class complete example

Enroll Now
Customer Reviews
No Review For This Course