C Plus Plus Programming2018-08-25T08:26:30+00:00

Introduction to C++

Variables, Initialization, and Assignment, Data types

  • Void
  • Variable sizes and the sizeof operator
  • Integers
  • Fixed-width integers
  • Floating point numbers
  • Boolean values and an introduction to if statements
  • Chars
  • Literals
  • Const and symbolic constants
  • Local variables, scope, and duration
  • Namespaces
  • Using statements

Operators

  • Operator precedence and associativity
  • Arithmetic operators
  • Increment/decrement operators.
  • Sizeof, comma, and conditional operators
  • Relational operators (comparisons)
  • Logical operators
  • Bitwise operators

Control flow

  • If statements
  • Switch statements
  • Goto statements
  • While statements
  • Do while statements
  • For statements
  • Break and continue

Functions

  • Function parameters and arguments
  • Passing arguments by value
  • Passing arguments by reference
  • Passing arguments by address
  • Returning values by value, reference, and address
  • Inline functions
  • Function overloading
  • Default parameters
  • Recursion

Arrays, Strings, Pointers, and References

  • Arrays
  • Arrays and loops
  • Sorting an array using selection sort
  • Multidimensional arrays
  • Introduction to pointers
  • Null pointers
  • Pointers and arrays
  • Pointer arithmetic and array indexing
  • Dynamic memory allocation with new and delete
  • Dynamically allocating arrays
  • Pointers and const
  • Reference variables
  • Member selection with pointers and references
  • For each loops

Object-oriented programming

  • Classes and class members.
  • Public vs private access specifiers.
  • Destructors
  • Static member variables
  • Static member functions
  • Friend functions and classes

Inheritance

  • Basic inheritance in C++
  • Order of construction of derived classes
  • Constructors and initialization of derived classes
  • Inheritance and access specifiers
  • Adding new functionality to a derived class
  • Calling inherited functions and overriding behavior
  • Hiding inherited functionality
  • Multiple inheritance
  • Virtual functions and polymorphism
  • Early binding and late binding

Templates

  • Function templates
  • Function template instances
  • Template classes

 

 

Exception handling

  • Exceptions, functions, and stack unwinding
  • Uncaught exceptions.
  • Exceptions, classes, and inheritance
  • Rethrowing exceptions
  • Function try blocks

C++ Unit Testing Fundamentals Using Catch

  • Introducing Catch
  • Organizing Your Tests Using Catch
  • Asserting Using Catch
  • Handling Duplicate Code

File & Stream

  • Opening a File
  • Closing a File
  • Writing to a File
  • Reading from a File
  • File Position Pointers

Your Content Goes Here