What is C/C++?

C++ program is a collection of commands, which tell the computer to do "something". This collection of commands is usually called C++ source code, source code or just code. Commands are either "functions" or "keywords". Keywords are a basic building block of the language, while functions are, in fact, usually written in terms of simpler functions--you'll see this in our very first program, below. (Confused? Think of it a bit like an outline for a book; the outline might show every chapter in the book; each chapter might have its own outline, composed of sections.

Each section might have its own outline, or it might have all of the details written up.) Thankfully, C++ provides a great many common functions and keywords that you can use. But how does a program actually start? Every program in C++ has one function, always named main, that is always called when your program first executes. From main, you can also call other functions whether they are written by us or, as mentioned earlier, provided by the compiler.

C++ is an object-oriented programming (OOP) language that is viewed by many as the best language for creating large-scale applications. C++ is a superset of the C language. A related programming language,Java, is based on C++ but optimized for the distribution of program objects in a network such as the Internet. Java is somewhat simpler and easier to learn than C++ and has characteristics that give it other advantages over C++.

However, both languages require a considerable amount of study.

Introduction to C++
  • Starting with C++
  • How C++ evolved from C?
  • Features of C++
  • Procedure-oriented programming
  • OOP vs. procedure-oriented programming
  • The basic anatomy of a C++ program
  • Starting with a simple Hello World program
  • Compiling, linking and running a C++ program
Object-Oriented Programming Concepts
  • Abstraction
  • Inheritance
  • Polymorphism
  • Data Binding
  • Encapsulation
  • Classes, subclasses and Objects
The Basics of C++
  • Base Data Types and sizes
  • User-defined Data Types
  • Variable Declarations, Variable Names
  • Dynamic initialization of variables
  • Constants and its types
  • Character Constants
  • String Constants
  • Standard input and standard output
  • Formatted input cin
  • Formatted output cout
  • Use of << and >> operators
Working with Operators and Expressions
  • Operators
  • Arithmetic Operators
  • Relational Operators
  • Assignment Operator
  • Logical Operators
  • Increment and Decrement Operators (++ and --)
  • 'Operate-Assign' Operators (+=, *=, ...)
  • Expressions
  • What are Expressions?
  • Operator Precedence
  • Precedence and Order of Evaluation
  • Conditional Expression
  • Casting and type conversion

Controlling the Program Flow

  • .Decision control
  • if
  • if else
  • if - else if
  • .Loop Control
  • while
  • do while
  • for
  • break
  • continue
  • Case Control
  • switch
  • goto

Using Functions/Procedures

  • Why Functions?
  • Anatomy of a Function
  • Returning values from functions
  • Arguments Passed by Value
  • Passing Addresses of Arguments
  • Concept of variable scope and scope rules
  • Static and automatic variables
  • Global variables

Pointers and Arrays

  • Pointers
  • What is a Pointer?
  • Pointer Initialization
  • Pointer Operators
  • The & Operator
  • Pointer Arithmetic
  • Functions and pointers
  • Understanding Arrays
  • Arrays
  • Initializing Arrays
  • Passing Arrays to Functions
  • Pointers and Arrays
  • Pointer to an Array
  • Array of pointers
  • Strings
  • String I/O
  • cin and cout member functions
  • Standard C String functions
  • Arrays of Strings

Binding data and functions

  • Concept of a class
  • Defining a class
  • Creating an object
  • Object Scope
  • Data Abstraction
  • Enforcing Data Encapsulation
  • this Pointer
  • Dynamic creation of objects
  • Constructors and Destructors
  • The Default Constructor
  • The Destructor
  • Parameterized Constructors
  • Copy constructor
  • Defining member functions
  • Methods and access modifiers
  • Accessing class data and methods
  • Friend class and friendly functions
  • Returning objects
  • Arrays of Objects

Function and Operator Overloading

  • Function Overloading
  • Using overloaded functions
  • Rules for overloading
  • Operator overloading and its uses
  • Overloading unary and binary operators
  • Overloading the assignment operator
  • Overloading the Operator
  • Overloading the increment and decrement operator
  • Dealing with strings using operators
  • Converting data types
  • Basic to class type
  • Class to basic type
  • Class to another class type

Reusing classes

  • Inheritance-Base and Derived classes
  • Inheritance types
  • Scope Resolution operator
  • Access Modifiers
  • Access and Inheritance
  • Constructors and Inheritance
  • Multiple & Multilevel Inheritance
  • Calling base class constructor
  • Overriding base class members

Virtual functions and Polymorphism

  • Virtual & non-virtual Overriding
  • Virtual functions
  • Rules for virtual functions
  • Pure virtual functions
  • Static and Dynamic Binding
  • Virtual base classes

Templates, Exception Handling

  • Templates
  • Function templates
  • Class templates
  • Exception handling
What's 17 + 4 =

class for demo


Jamia Nagar Batch
Maharani Bagh Batch



query button