C and C++

Goals


- Learn Object-Oriented Programming with C ++

- Be able to develop independently with C ++

Program

History, versions and standardization
C compared to C ++
C ++ and other languages
Environment, tools

Compilation
Organization of an application in C ++
Local grammar (variables, structures, loops, etc.)
Main ()
function Standard I / O functions

Definition of variables, use
Main types and execution environment
Display formats
Casting
Arithmetic and various operations; conditions
Typed
constants Conditional structures
Loops and multiple data processing
Tables – creation, manipulation
Pointers, access to any memory
References
Enumerations

Prototyping and definition
Simple arguments and use
Passing parameters (by value, by address, by reference)
References and return values
Overloading functions
Inline functions
Recursion
Organizing source files

Definition, creation, use
Definition of methods
Declaration of a structure variable
Constant structure, the keyword « mutable »
Structures as function parameters

Contribution of the object to the procedural
Definition of classes
Use: static or dynamic instantiation
Attributes and methods of instances
Constructors, destructors, overload
Static fields and class methods
Encapsulation of data (accessors and modifiers)
Aggregation, relationships between data – problems and solutions
Functions and classes friends of a class (friend)
Inheritance, reusability
Polymorphism and abstraction of classes
Multiple inheritance: possibility, problems, advice

Needs, possibilities, alternatives
The general mechanism
Search for an ideal solution

Benefit – when to use, when to avoid?
Function Templates and Basic Examples
Class Templates Template
Instantiation

Definition, named namespaces Namespace
alias
Using declaration / Using namespace directive 

Introduction
Principle and mechanisms for managing exceptions
Freeing dynamic resources during an exception

C ++ conventions, documentation
Access to files
Character strings – complex aspects of conversions
STL – container, iterators, …
Presentation of presentation libraries (SDL, Win32 API, MFC, .NET)

Duration

5 days

Price

£ 2030

Audience

All

Prerequisites

Notions of C or a similar language

Reference

PRO71-F

Sessions

Contact us for more informations about session date