C++ Developer
 
 

C++ Developer

Course Code: CPLUSDEV

Duration: 5 days

Our training courses can also be delivered at a location of your choice...

S7

C++ Developer Course Overview

C++ is a powerful, multi-paradigm, general-purpose programming language. It may be used to build almost anything from operating systems to games. This hands-on course endeavours to provide the fundamental skills needed to become a C++ Developer.

Note: This is not a course for beginners. The delegate is expected to be familiar with programming concepts and have had some coding experience. If this is not the case, then they should consider attending our Introduction to Programming course instead.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

The delegate will learn and acquire skills as follows:

  • Write, compile, and execute a C++ program; read from stdin and write to stdout
  • Declare, initialise, and modify variables using all the built-in types
  • Build expressions using arithmetic, relational, and logical operators
  • Define and call functions; assemble multi-file programs
  • Determine the scope of a variable; perform type conversions
  • Code decisions and loops
  • Declare, initialise, use and manipulate arrays and strings
  • Make the case for, and use pointers and references appropriately
  • Pass arguments to a function by value, reference, and address; likewise return
  • Define encapsulated classes with attributes and methods; create and use objects
  • Overload operators
  • Code composite and aggregate object relationships
  • Code inheritance hierarchies
  • Exploit polymorphism using virtual methods
  • Construct and use template functions and classes
  • Handle exceptions
  • Read from a file and write to a file

Who will the Course Benefit?

The C++ Developer course is aimed at anyone who has had some coding experience seeking to become a C++ Developer. The course is also suitable for existing developers seeking to migrate to C++.

Course Objectives

This course aims to provide the delegate with the skills needed to build programs using C++ that exploit all of the fundamental elements of the language.

Requirements

Delegates attending this course should be able to define general programming concepts including compilation and execution, variables, arrays, sequence, selection and iteration, navigate the filesystem (on the command line ideally), edit and save text files and browse the web. This knowledge can be obtained by attendance on the pre-requisite Introduction to Programming course.

Pre-Requisite Courses

Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.


 

Course Contents

C++ Developer Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: GETTING STARTED

  • The C++ language
  • C++ editors
  • Program structure
  • Statements
  • Comments
  • The main function
  • Introduction to variables, literals, and expressions
  • Reading from stdin (cin) and writing to stdout (cout)
  • Compilation, execution, and debugging

Session 2: VARIABLES & DATA TYPES

  • Variable definition
  • Variable initialisation (copy, direct, brace/uniform)
  • Variable assignment
  • Integers
  • Floating point numbers
  • Boolean
  • Introduction to if statements
  • Characters
  • Strings
  • Enums
  • Structs
  • Literals
  • Constants
  • Naming conventions

Session 3: OPERATORS

  • Operator precedence and associativity
  • Arithmetic operators
  • The cmath library
  • Increment and decrement operators
  • Comma and conditional operators
  • Relational operators
  • Floating point number comparison
  • Logical operators

Session 4: FUNCTIONS

  • Definition
  • Invocation
  • Return values
  • Parameters and arguments
  • Local scope
  • Forward declarations and definitions
  • Multi-file programs
  • Namespaces
  • The preprocessor
  • Header files
  • Header guards

C++ Developer Training Course

Session 5: SCOPE & CONVERSIONS

  • Blocks
  • Local variables
  • Global variables
  • Shadowing
  • Internal and external linkage
  • Global constants and inline variables
  • Static local variables
  • Type aliases
  • The auto keyword
  • Implicit and explicit type conversion

Session 6: DECISIONS & LOOPS

  • If statements
  • Switch statements
  • Goto statements
  • While loops
  • For loops
  • Break and continue

Session 7: ARRAYS & STRINGS

  • Array declaration
  • Array initialisation
  • Array indexing
  • Passing arrays to functions
  • Sizing an array
  • Traversing an array
  • Sorting an array
  • Multi-dimensional arrays
  • Standard strings
  • Reading a line from cin using std::getline
  • Concatenating strings
  • Sizing a string
  • C-style strings

C++ Developer Training Course

Session 8: POINTERS & REFERENCES

  • The address-of operator
  • The dereference operator
  • Pointers
  • Pointer declaration and assignment
  • Null pointers
  • Pointers and arrays
  • Dynamic memory allocation
  • Smart pointers
  • References
  • Reference declaration and initialisation
  • References as function parameters
  • Using references to pass arrays to functions
  • Pointers vs. references
  • The for each loop
  • Introduction to std::array and std::vector

Session 9: MORE FUNCTIONS

  • Parameters and arguments revisited
  • Passing arguments by value, reference, and address
  • Returning values, references, and addresses
  • Inlining
  • Overloading
  • Default arguments

Session 10: CLASSES AND OBJECTS

  • Classes, attributes, and methods
  • Creating an object of a class
  • Getting and setting an object's attributes
  • Calling an object's methods
  • Access specifiers
  • Encapsulation
  • Constructors
  • Member initialisation
  • Destructors
  • The this pointer
  • Class definitions and header files
  • Const objects and member functions
  • Static attributes and methods
  • Friendly methods and classes

C++ Developer Training Course

Session 11: OPERATOR OVERLOADING

  • Arithmetic operator overloading using friendly and normal functions
  • IO operator overloading
  • Operator overloading using member functions (methods)
  • Other operator overloading
  • The copy constructor
  • Copy initialisation
  • Shallow vs. deep copying

Session 12: COMPOSITION & AGGREGATION

  • Object relationships
  • Composition
  • Aggregation
  • Associations
  • Dependencies

Session 13: INHERITANCE

  • What is inheritance and what is its purpose
  • Base and derived classes
  • Inheritance chains
  • Derived class constructors
  • Inheritance and access specifiers
  • Extending base class functionality
  • Overriding base class functionality
  • Multiple inheritance

Session 14: POLYMORPHISM

  • What is polymorphism and what is its purpose
  • Pointers and references to derived objects
  • Virtual functions
  • The override specifier
  • The final specifier
  • Pure virtual functions
  • Abstract base classes
  • Interface classes
  • Virtual base classes
  • Dynamic casting

C++ Developer Training Course

Session 15: TEMPLATES

  • What is a template and what is its purpose
  • Function templates
  • Template classes
  • Non-type parameters
  • Function template specialisation
  • Class template specialisation

Session 16: EXCEPTION HANDLING

  • Syntax and semantic errors
  • Detecting and handling assumption errors
  • Assert and static_assert
  • Return codes
  • Exceptions
  • Handling exceptions with try catch
  • Throwing and re-throwing exceptions
  • Catch-all handlers and exception specifiers
  • Custom exception classes

Session 17: INPUT & OUTPUT

  • Streams
  • The iostream library
  • Standard streams
  • The insertion and extraction operators
  • Manipulators
  • istream and ostream
  • ifstream and ofstream
 

C++ Developer

Duration: 5 days

RRP: £2,250.00 exc. VAT 


Upcoming Scheduled Events
Next 12 months

Virtual StayAhead Virtual Courses available  & London Schedule
We are running a full Virtual schedule
Start Date   Spaces Book
17 Aug 2020
StayAhead Virtual Courses available  StayAhead Classroom Courses available 
Spaces StayAhead - Course Running Book
28 Sep 2020
StayAhead Virtual Courses available  StayAhead Classroom Courses available 
Spaces StayAhead - Course Running Book
09 Nov 2020
StayAhead Virtual Courses available  StayAhead Classroom Courses available 
Spaces StayAhead - Course Running Book
04 Jan 2021
StayAhead Virtual Courses available  StayAhead Classroom Courses available 
Spaces StayAhead - Course Running Book
22 Feb 2021
StayAhead Virtual Courses available  StayAhead Classroom Courses available 
Spaces StayAhead - Course Running Book
19 Apr 2021
StayAhead Virtual Courses available  StayAhead Classroom Courses available 
Spaces StayAhead - Course Running Book
07 Jun 2021
StayAhead Virtual Courses available  StayAhead Classroom Courses available 
Spaces StayAhead - Course Running Book
26 Jul 2021
StayAhead Virtual Courses available  StayAhead Classroom Courses available 
Spaces StayAhead - Course Running Book

Virtual Events StayAhead Virtual Courses available Attend your training using our Live Virtual Classroom solution.

Classroom Events StayAhead Classroom Courses available You can attend in our traditional classroom setting using one of our Training Centres.
In the current climate, attendance at a Training Centre will be reviewed at the time of the request.

Closed Courses Closed Classroom Courses available These Closed Company events can be offered in your own setting or using our Live Virtual Classroom solution.
Delegates can attend from your business location, their home or a location of their choice. A great way to provide training to a group of delegates in a Team environment, even when they are in diverse locations, nationally or even internationally.
 
 
        Home             Let Us Call You
 

 

Course Deliveries

Public Scheduled and Closed
Virtual
UK and Overseas

OUG

Oracle User Group - Membership Benefits

OUG

Certification

Our independent Oracle, Solaris & Red Hat Linux curriculums helps prepare delegates for official certification.

StayAhead
Flexibility

Cannot see a sutiable date?
Please call us and we will try an accommodateyour needs!

StayAhead Live Virtual Classroom

 
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.
 
 



Our Course Curriculum

 
 
 
 
 

AWS, Azure, VMWare, Cisco & Cyber Security

 
 



Our Ratings

Instructor
Quality
 

97.18%

Course
Practical
 

92.28%

Overall
Courseware
 

94.17%

Overall
Course
 

96.13%

+44 (0)20 7600 6116
Enquiries@StayAhead.com
Copyright © 2020 StayAhead Training Ltd
Cookies   /   Privacy Policy