Back to Course

Introduction to C++

0% Complete
0/0 Steps
  1. C++: Basics
    5Topics
    |
    6 Quizzes
  2. C++: Compilation and Execution
    5Topics
    |
    6 Quizzes
  3. C++: Variables
    9Topics
    |
    10 Quizzes
  4. C++: Conditions Operators
    5Topics
    |
    6 Quizzes
  5. C++: Logical Operators
    3Topics
    |
    4 Quizzes
  6. C++: Loops and Errors
    8Topics
    |
    9 Quizzes
  7. C++: Vectors
    4Topics
    |
    3 Quizzes
Lesson 6, Topic 4
In Progress

C++: Introducing Errors

Yasin Cakal 20 Nov 2021
Lesson Progress
0% Complete

When writing down programs, each programmer comes across a number of bugs and errors that have to be understood and recognized to fix them. But to begin with: what is a bug? These re the technical errors that may occur when writing a code.

An amateur has to deal with a lot of errors, and throughout every programmer’s journey, these errors require some debugging, and for this you have to understand the type of error that you are facing. However, more important than writing a perfect code is to understand the errors and know how to solve them or, as the programs say, debug them, There are a number of code errors which can be categorized into 4 types:

  • Compiling errors: Errors a compiler faces when compiling
  • Linking Errors: Errors a linker finds when linking object files to turn into program for execution
  • Run-time Errors: Errors which come about when the program is running.
  • Logical Errors: Errors a programmer looks for due to incorrect outputs.

Let’s try and fully understand these errors to have a better understand of them when trying to find the solution to them. This will enable you to look at your codes from a new perspective.

Responses

Leave a Reply

%d bloggers like this: