Search our courses
Training

Develop the ability to design and write programs in the C++ language, emphasizing object - oriented approaches to designing solutions.

C++ Programming

Course Code

GTPL11

Duration

5 Days

Course Fee

POA

Accreditation

N/A

Target Audience

  • C programmers responsible for the development of advanced applications or systems programs in C++

Attendee Requirements

  • C Programming

Expand all

Course Description

Develop the ability to design and write programs in the C++ language, emphasizing object - oriented approaches to designing solutions.

Course Outline

1.Course Introduction
Course Objectives
Course Overview
Suggested References

2. Classes
Creating a Data Structure
Methods
Object Scope
C++ Input and Output
Namespaces
Data Abstraction
Enforcing Data Encapsulation
File Organization
Classes in C++
Objects
This Pointer

3. Constructors and Destructors
Debug Output
The Default Constructor
When are Constructors Called?
The Destructor
The Copy Constructor
Other Constructors
Why Did It Work Before?
Composition
The Report Class
Code Reuse
Initialization Lists

4. Inheritance
Inheritance
Bugreport
Protected Access Modifier
Access and Inheritance
Constructors and Inheritance
Initialization Lists Revisited
Multiple Inheritance

5. Virtual Functions
Inheritance and Assignment
Inside Report’s Assignment Operator
Using Pointers – a Quick Look at Basics
Class Assignment and Pointers
Static Binding
Dynamic Binding
Polymorphism
The show_rep() Function
Using the show_rep() Function
Designing Member Function Inheritance

6. Pure Virtual Functions
Bugfix and Its Relationship with Bugreport
Bugfix: Association with Bugreport
Using Bugfix with show_rep()
Adding Bugfix to the Hierarchy
Coding for the Document Class
Reexamining the Document Class
Pure Virtual Functions
Updated: Designing Member Function Inheritance

7. References and Constants
References
Displaying References
Changing References
Pass by Reference
Returning by Reference
Constant Variables
Constant References
Constant Methods

8. new and delete
new and delete
Array Allocation
The Report Class
Compiler Version of the Copy Constructor
Guidelines for Copy Constructors
The Report Constructors and new
The Report Destructor and delete
Virtual Destructors

9. Casting in C++
Casting: A Review
New Casting Syntax
Creating a String Class
The String Class
The Conversion Constructor
Expanding Our Casting Options
Casting Operator
Using the Casting Operator

10. Class Methods and Data
Class Data
Class Methods
Using the New Data
More on Class Methods

11. Overloaded Functions
Function Overloading
Using Overloaded Functions
Rules for Overloading
Overloading Based on Constness
Default Arguments
Invoking Functions with Default Arguments

12. Overloaded Operators
The Basics of Overloading
Overloading operator+
Coping with Commutativity
Non-Commutative Operators
friends and Their Problems
The Assignment Operator
Overloading the << Operator
Using Date with cout

13. Exception Handling
Why Exception Handling?
try / catch / throw
Exception Classes
Standard Exception Hierarchy
Multiple catch Blocks
Catching Everything
Unhandled Exceptions
Exception in Constructors and Destructors
Designing for Exceptions

14. Standard Template Library
Class Template Concepts
Standard Template Library (STL) Overview
Containers
Iterators
Iterator Syntax
Non-Mutating Sequential Algorithms
Mutating Sequential Algorithms
Sorting Algorithms
Numeric Algorithms
auto_ptr Class
string Class

15. STL Containers
Container Classes
Container Class Algorithms
vector Class
Additional vector Class Methods
deque Class
list Class
set and multiset Classes
map and multimap Classes

16. Appendix A – Reference Sheets (also discussed if time allows)

Constants, References, and Pointers                                                                                                     
Input/Output
this Pointer
The Complete Report/Document Hierarchy

17. Appendix B – Templates
Scenario
Designing an Array Class
Code for FloatArray
Code for IntArray
Templates
Template Syntax
Using Templates
Using Classes with Templates
Additional Template Features
Standard Template Library

18. Appendix C – Sample Problems
Banking System
Library Card Catalog
Diagrams for Banking and Library Problems
Object Diagram - Banking
Event Trace Diagram - Banking
Object Diagram – Library
Event Trace Diagram - Library

19. Appendix D – Other C++ Features
Namespaces
The static_cast and reinterpret_cast operator
The dynamic_cast operator
The const_cast operator
mutable Data Members
The bool Datatype
new Operator Failure

Learning Path

Students should have taken Introduction to C courses or have equivalent knowledge. These skills are also taught in the following course:

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please Contact Us to discuss your suitability for course attendance.

Ways to Attend
  • Attend a public course, if there is one available. Please check our Schedule, or Register Your Interest in joining a course in your area.
  • Private onsite Team training also available, please Contact Us to discuss. We can customise this course to suit your business requirements.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 


“It was very positive. This course was 4 days but covered a semester worth of work if it was done in college. The labs were relevant and delegates were provided the lab/coursebook for further study and practice after the course finished. GuruTeam's course was excellent and provides a deeper understanding of the architecture and how it all works. The hands-on aspect was very helpful as it helped solidify the concepts as I went along."

 

Kubernetes Administration Certification - GTLFK

Live Online September 2024

 

 

 

“The Instructor was very knowledgeable, laid back and very approachable during the course. The environment setup was second to none.  Very easy to jump in and follow along with minimal pre-req setup."

Kubernetes Administration Certification - GTLFK

Onsite May 2024

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Administration


 2nd - 5th December 2024
10th - 13th December 2024
16th - 19th December 2024


Live Online
GMT +01:00  09:30 - 17:00 hrs



This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster.

 

 

 

Learn More

RUST PROGRAMMING



10th - 13th December 2024
16th - 19th December 2024


 

Live Online
GMT +01:00  09:30 - 17:00 hrs

This course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.
 

 

 

Learn More

INTRO TO PYTHON 3 

ADVANCED PYTHON 3

Dates to be added

 

Live Online
GMT +01:00  09:30 - 17:00 hrs

  
Python is a powerful and popular object-oriented programming/
 scripting language with many high quality libraries.
 



 

 

Learn More

 GO LANG TRAINING

10th - 13th December 2024
16th - 19th December 2024

Live Online
GMT +01:00  09:30 - 17:00 hrs
 

This Go language programming training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter