C++ Online Tutorials

TCS NQT Registration Steps Large

Learn C++

C++ language is very important for placements and a lot of questions will be asked from theory concepts in Online tests of various companies and also interviews. The pages below can also be used for general C++ learning and will cover all important topics for C++.

  1. Study the Theory
  2. Watch the lectures
  3. Complete the assignments
Learn C plus plus PrepInsta C++

Introduction

Here we will learn about the structure of C++ language and the syntax in order to construct a feasible code. These are important topics and you need to be thorough in these topics before you move further.

C++ vs C

Here we will learn about basic difference between C++ and C

1. Programming Paradigm:

  • C is a procedural programming language, which follows a top-down approach and focuses on functions and procedures.
  • C++ is a multi-paradigm language that supports both procedural and object-oriented programming (OOP), allowing concepts like classes, inheritance, and polymorphism.

2. Code Reusability:

  • In C, code reusability is limited and achieved using functions.
  • In C++, object-oriented features like classes and inheritance promote better code reusability and modularity.
Learn C plus plus PrepInsta 2
Learn C plus plus PrepInsta 3

Input/Output

Here we will learn about how input/output work in c++ and different type conversion

 

Structures in c++

Here we will learn about what Structures and how they are used in C++ Programming.

Learn C plus plus PrepInsta 4
Learn C plus plus PrepInsta 3

Pointers

Here we will learn about what Pointers and how they are used in C++ Programming.

Object and class in c++

Here we will learn about what Oject , Class and how they are used in C++ Programming.

Learn C plus plus PrepInsta 4
Learn C plus plus PrepInsta 3

STL in C++

Here we will learn about what STL and how they are used in C++ Programming.

Exception Handling

Here we will learn about Exception Handling and how they are used in C++ Programming.

Learn C plus plus PrepInsta 4
Learn C plus plus PrepInsta 3

Library in C++

Here we will learn about Library in C++ and how they used in C++ Programming.

Learn C plus plus PrepInsta 7

Introduction to Classes and OOPs Concept

In C++, Object-Oriented Programming (OOP) is a way of writing code by creating objects that represent real-world things. These objects are made using classes.

What is a Class?

  • A class is like a blueprint or template. It defines how an object will look and what it can do. It contains data (called variables) and functions (called methods) that work on that data.

What is an Object?

An object is created from a class. It is a real thing you can use in your program.

Basic OOPS Concepts in C++

  • Encapsulation – Wrapping data and functions together inside a class. It hides the internal details.
  • Inheritance – A class can use features of another class. Example: ElectricCar can inherit from Car.
  • Polymorphism – One function behaves differently based on how it’s used. Helps with flexibility.
  • Abstraction – Showing only the important details and hiding the rest.

OOPs Advanced - 1

  • Class and Object
  • Encapsulation
  • Abstraction
  • Inheritance
  • Polymorphism (Basic)
  • Function Overloading
  • Operator Overloading
  • Access Specifiers (public, private, protected)
  • Constructors and Destructors
  • Copy Constructor
Learn C plus plus PrepInsta 8
Learn C plus plus PrepInsta 1

OOPs Advanced - 2

  • Runtime Polymorphism (Function Overriding)
  • Virtual Functions
  • Pure Virtual Functions
  • Abstract Classes
  • Virtual Base Class
  • Constructor and Destructor in Inheritance
  • Multiple Inheritance & Ambiguity Resolution
  • Friend Function and Friend Class
  • Static Members (Variables and Functions)
  • ‘this’ Pointer
  • Pointer to Objects
  • Dynamic Memory Allocation in Classes
  • Namespaces
  • Type Casting in OOP (static_cast, dynamic_cast, etc.)

Miscellaneous Coding Questions

computer

Below assignments must be completed by all the Students

Assignments

Note : You need to complete atleast 80% of the assignments for getting the certificate

First Watch Session videos and then complete Assignments

C Assignments :-

Introduction to C Programming

Lecture

Assignments

Input-Output

Lecture

Assignments

Data Types

Lecture

Assignments

Arrays

Lecture

Assignments

Strings

Lecture

Assignments

Functions

Lecture

Assignments

Macros & Processors

Lecture

Assignments

Format Specifiers, Type Casting and Precision

Lecture

Assignments

C++ Assignments :-

Constructor

Lecture

Assignments

Destructor

Lecture

Assignments

Virtual & Abstract Classes

Lecture

Assignments

Inheritance

Lecture

Assignments

Functions

Lecture

Assignments