Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

C++ Crash Course - Quick and Practical Learning

Packt via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. This C++ Crash Course is designed to give learners a fast, structured, and hands-on introduction to one of the most powerful programming languages in the world. You’ll understand how C++ powers applications, systems, and modern software development while learning the key programming concepts that make it so versatile and efficient. You’ll start by exploring the basics of programming and C++ syntax, learning to use compilers, IDEs, and the building blocks of a C++ program. The journey then moves through variables, data types, operators, and control structures before diving into arrays, strings, functions, and pointers—solidifying your foundational understanding through practical examples and demos. As you progress, you’ll explore the heart of C++—object-oriented programming (OOP)—covering essential topics such as classes, objects, inheritance, and polymorphism. You’ll then advance to exception handling, file operations, and templates to write robust, efficient, and reusable code. The course concludes with the Standard Template Library (STL), equipping you with tools to handle data structures and algorithms effectively. This course is ideal for beginners and aspiring developers who want to start their programming journey or strengthen their coding fundamentals. No prior experience is required, but basic computer knowledge is recommended. The difficulty level is Beginner. By the end of the course, you will be able to write, compile, and debug C++ programs, use OOP principles effectively, handle errors gracefully, and apply STL to build efficient, real-world applications.

Syllabus

  • Introduction
    • In this module, we will introduce the C++ crash course, outlining its objectives and the essential topics covered. We will explore the basics of programming, the history and importance of C++, and the role of compilers and IDEs. Additionally, we will walk through the installation of Code::Blocks and demonstrate how to build and structure a simple C++ program.
  • Basic Concepts
    • In this module, we will cover the foundational concepts of C++, including variables, data types, and operators. We will explore arithmetic, assignment, relational, and logical operators and their applications. Additionally, we will learn how to take user input using cin and format output with endl.
  • Control Structures
    • In this module, we will explore control structures in C++, including conditional statements and loops. We will implement programs using if-else, switch-case, and various looping constructs. Additionally, we will work with nested loops and learn how break and continue statements influence program flow. Practical demonstrations include generating multiplication tables, calculating powers, and printing patterns.
  • Arrays and Strings
    • In this module, we will dive into arrays and strings, exploring how they store and process data efficiently. We will cover array traversal, searching, and matrix operations. Additionally, we will introduce strings, their properties, and common string manipulation techniques in C++. Practical demonstrations will reinforce these concepts through real-world examples.
  • Pointers
    • In this module, we will explore pointers in C++, covering their fundamentals and significance in memory management. We will examine how pointers relate to arrays and how they enable efficient data manipulation. Understanding pointers is crucial for advanced C++ programming concepts such as dynamic memory allocation.
  • Functions
    • In this module, we will explore functions in C++, their syntax, and how they improve code structure. We will learn about parameters, return values, and different parameter passing techniques. The module will also cover function scope, default arguments, and the difference between local and global variables.
  • Object-Oriented Programming (OOPS)
    • In this module, we will introduce the fundamentals of OOP in C++, focusing on classes and objects. We will explore encapsulation, abstraction, access specifiers, and the lifecycle of an object. Additionally, we will implement constructors, destructors, static variables, and friend functions for better code organization and data security.
  • Inheritance
    • In this module, we will delve into inheritance, a key concept in object-oriented programming. We will explore different inheritance types, including single and multiple inheritance, and their impact on access control. We will also examine constructor behavior in an inheritance hierarchy and apply inheritance in practical C++ programs.
  • Polymorphism
    • In this module, we will explore polymorphism in C++, focusing on function and operator overloading. We will learn how method overriding enables dynamic method binding and implement virtual functions for achieving runtime polymorphism. Additionally, we will introduce abstract classes and their role in defining class blueprints.
  • Exception Handling and File Handling
    • In this module, we will cover exception handling in C++, demonstrating how try, catch, and throw statements manage runtime errors. We will also explore file handling, learning how to read from and write to files using streams. Practical examples will reinforce these concepts through hands-on implementation.
  • Templates and Generic Programming
    • In this module, we will explore templates in C++, focusing on function and class templates. We will learn how templates enable generic programming, allowing us to write flexible and reusable code that works with different data types.
  • STL (Standard Template Library)
    • In this module, we will explore the Standard Template Library (STL) and its powerful data structures. We will cover various STL containers, including arrays, vectors, lists, stacks, queues, sets, and maps. Additionally, we will examine STL algorithms that simplify common programming tasks and improve code efficiency.

Taught by

Packt - Course Instructors

Reviews

Start your review of C++ Crash Course - Quick and Practical Learning

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.