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

CodeSignal

Debugging in C++

via CodeSignal

Overview

This comprehensive course is designed to equip developers with a deep understanding of error handling and exceptions in C++. It will cover the fundamental concepts, practical strategies, and advanced techniques required to write robust, reliable, and maintainable C++ code.

Syllabus

  • Lesson 1: Understanding C++ Error Messages
    • Fix the Ingredient Counter Logic
    • Fix the Total Cost Calculation Program in C++
    • Fix the Index Error in Ingredient List
    • Fix the Cosmic Pie Ingredients Code
    • Fix Null Pointer Dereference in Array Access
  • Lesson 2: Understanding C++ Syntax Errors
    • Fix the Syntax Error in the C++ Program
    • Fixing Syntax Errors in Message to the Universe
    • Fix the Syntax Error in the C++ Spaceship Code
    • Fix the Syntax Error in the Message Program
    • Fixing a Minor Syntax Error in C++ Code
  • Lesson 3: Understanding Logical Errors in C++
    • Fix the Logical Error in Factorial Calculation
    • Fix the Logical Error in Drink Volume Calculation
    • Fixing Logical Errors in Coffee Order Calculation
    • Fix the Beverage Volume Calculation
  • Lesson 4: Understanding and Preventing Runtime Errors in C++
    • Avoiding Division by Zero in C++
    • Fix the Division by Zero Check
    • Handling Division by Zero in C++
    • Check and Handle Null Pointer in C++
  • Lesson 5: Throwing Exceptions in C++
    • Handling Specific Exceptions in C++
    • Handling Division by Zero Exception in C++
    • Handle Multiple Exception Types for Negative and Out-of-Stock Orders

Reviews

Start your review of Debugging in C++

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.