Learn C++ Programming

Learning C++ has significant benefits: it is one of the fastest and most efficient programming languages, it's used everywhere in a tech stack, and the community is active. We will learn C++ from scratch, going from basic syntax all the way to advanced algorithms and real-world use cases.

Section Menu

How do I use this section?

1. LESSON

Introduction to C++

C++ is an imperative, language with a strong emphasis on performance and efficiency--qualities that certainly resonate with engineers. It is widely known for being a middle-level language, as it encapsulates both high-level and low-level language features. Its background dates back to 1979 when it was created as an extension to the C langua...

2. LESSON

Data Types and Variables

In C++, primitive data types are the built-in types that form the backbone of programming. Like a chemical compound, where different elements combine to form a large complex structure, in programming different data types combine to form complex algorithms and structures. Understanding them is pivotal in mastering C++. Here are some of the co...

3. LESSON

Operators, Conditions, and Loops

This lesson covers the use of operators, conditional statements, and loops in C++. Arithmetic and Comparison Operators: Understanding different types of operators. Control Flow (if-else, switch-case): How to use control flow statements for decision making. Looping (for, while, do-while): How to use loops to execute repeating sequences....

4. LESSON

Functions And Recursion

Understand functions, parameters, arguments and the concept of recursion. Defining and Calling Functions: How to define and invoke functions. Understanding Recursion: Concept of recursion and how to implement it in C++....

5. LESSON

OOP Basics: Classes and Objects

In this lesson, learn about the basics of object-oriented programming, including classes and objects. Defining and Using Classes: How to define and use classes in C++. Creating and Using Objects: How to create and use objects....

6. LESSON

OOP Advanced: Inheritance and Polymorphism

Understand inheritance, polymorphism, and how they permit a high level of code reusability. Understanding Inheritance: Concept of inheritance and its use-cases. Understanding Polymorphism: Concept of polymorphism and how it helps in making systems more modular and easier to understand....

7. LESSON

File Handling and I/O operations

Learn about how C++ handles files and performs i/o operations. Input/Output with cin and cout: How to use cin and cout for user input and output. File Input/Output: Reading from and writing to files....

8. LESSON

Exception Handling

This lesson covers C++ support for exception handling, for error processing at run time. Try, Throw, and Catch: How to use try, throw, and catch to handle exceptions or errors. Creating Custom Exceptions: How to create and use custom exceptions....

9. LESSON

Introduction to STL

Understand the Standard Template Library (STL), a powerful set of C++ template classes to provide general-purpose classes and functions with templates that allow you to manipulate data using the provided containers. Different Components of STL: Understanding the different components (containers, algorithms, functions, etc.) of STL....

10. LESSON

Modern C++

Get an overview of modern C++ (C++ 11, C++ 14, C++ 17 and upcoming C++ 20) and learn about the new features these updates introduce. Modern Syntax: Exploring the modern syntax and conventions of C++. New Features: Understanding the new features introduced in modern C++....

11. LESSON

C++ for Real-World Applications

This lesson will discuss how C++ concepts map to real-world applications. Optimization Techniques: Techniques to optimize your code. C++ in AI and Machine Learning: How C++ is used in AI and Machine Learning algorithms. C++ in finance: Overview of how C++ is used in financial systems and simulations....