C ++
C Programming and C++

C Programming and C++ Training


The C programming language is one of the most popular and widely used programming languages. It is a general-purpose programming language and there are very few computer systems in existence that are not set up for its use (i.e. where a C compiler does not exist).

This C programming tutorial and course introduces you to the basics of programming in C. You will learn how programming languages work with data, what program flow is, and how to use functions, methods and routines. You will also get step-by-step instructions on how to create simple C programs and how to run them all while you learn C programming.

    • Mon – Fri ( 4 Weeks ) | 08.00 AM – 10.00 AM Time (IST)                                      C Programming C++ 

    • Sat – Sun ( 6 Weeks ) | 09.30 AM – 06.00 PM Time (IST)                                   C Programming C++  


Module Topic Content Coverage

Module 1

Introduction to C Programming Language

  • Basic Data Types
  • Constants
  • Variables
  • Statements , expressions and operators
  • Type Qualifiers (short, long,signed and unsigned)
  • Type modifiers (const and volatile)
  • Control Structures
  • if,switch
  • Loops (  for, while, do…while)

Module 2

Functions

  • void Functions.
  • Functions with arguments and no return values.
  • Functions with arguments and return values.
  • Functions with no arguments and return values.

Storage Classes

  • Automatic
  • External
  • Static
  • Register

Arrays

  • Need for Arrays
  • Single Dimensional Array
  • Initialization of Array Elements
  • Partial initialization of Array Elements
  • Two Dimensional Array
  • Three Dimensional Array

Module 3

Pointers

  • What Is a Pointer
  • Declaring Pointers
  • Initializing Pointers
  • Pointers and Variable Types
  • Pointers and Arrays
  • Pointer Arithmetic
  • Incrementing Pointers
  • Other Pointer Manipulations
  • Passing Arrays to Functions
  • Pointer to pointer
  • Pointer arithmetic with pointer to pointer

Module 4

 

 

Pointers

  • Pointers as structure members
  • Pointer to array
  • Two dimensional arrays and pointers
  • Three dimensional arrays and pointers

Dynamic Address Allocation

  • Address space allocation
  • Malloc
  • Calloc
  • Realloc
  • Free
  • Memory leak
  • Pointers and arrays
  • Pointer to string
  • Pointer to function
  • Callback function
  • Constant and pointer

Module 5

Structures

  • Structure – Definition
  • Initialization of Structure Elements
  • Assignment of Structure Elements
  • Structure padding and packing, __attribute__
  • Typedef, function pointers and structures
  • Structures as Function Arguments
  • Function and structure
  • Array and structure
  • Pointers and structures
  • Defining a Union
  • Accessing Members of a Union
  • Bit fields and their usage in optimizing
  • Enumerations

Module 6

File Handling

  • fopen,getc,putc, fprintf, fscanf
  • fseek, ftell, rewind
  • Fclose
  • fread, fwrite

 

Module 8

Basic Data Structures

  • Definition of data structure
  • Stack
  • Queue
  • Single linked list

Module 9

Data Structures

  • Stack Using Single linked list,
  • Queue using Single linked list
  • Doubly linked list
  • Circular lists

Object Oriented Programming with C++

Module Topic Content Coverage

Module1

Concepts Of Object Oriented Programming

  • Basics Object Oriented Design Concepts
  • Benefits of Object Oriented Programming
  • Applications of Object Oriented Programming
  • Introduction to Class, Objects, Inheritance,
  • Encapsulation & Polymorphism

Applying Concepts Of Object Oriented Programming

  • Identify the class ,Objects and their relationships
  • using the elements in the training room

Implementing Classes and Objects

  • Concepts of Classes and Objects, their implementation in C++
  • Access Specifies – Concept of Public, Private
  • this Pointer
  • Scope Resolution operator
  • Static variables
  • Constant Member functions
  • Pointer to Member functions
  • Function Overloading

Module2

Functions

  • Rules for Function Signature
  • Call by Reference & its advantages
  • Inline Functions & its advantages over Macros
  • Specifying Default Arguments
  • Constant Arguments
  • Ambiguity of Function Overloading

Constructors and Destructors

  • Usage of Constructors

multiple Constructors, concept of copy-constructor

  • Diff between deep copy and shallow copy
  • Destructors
  • Dynamic memory Concepts using new and delete
  • Pointers to objects

Module 3

Implementing Inheritance

  • Concept and need for Derived classes
  • Implementing Single, Multiple, Multilevel Inheritance
  • Role of constructors and destructors in inheritance

Operator Overloading

  • Operator Overloading
  • Concept of Operator Overloading
  • Overloading of binary, unary, and other operators
  • Rules of Operator Overloading
  • Conversion operators

Module 4

Polymorphism

  • ‘this’ Pointer, pointer to objects
  • Concept of Virtual Functions
  • Abstract Class( pure Virtual Functions)
  • Friend Function and its advantages

Module 5

Introduction to Exception Handling

  • What are Exceptions
  • Handling Exceptions in C++ - try, catch, throw

 

 

Module 6

C++ I/O Streams And files

  • C++ Stream Classes
  • Classes for File Stream Operation
  • File Pointers and their manipulations
  • ifstream, ofstream, fstream, get(), put(), seekp(), seekg()

 

Generic Programming Using templates

  • Function templates,Class Templates/ Introduction to STL