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
    1Topic
    |
    1 Quiz
Lesson 6, Topic 7
In Progress

C++: Run-Time Errors

Yasin Cakal 20 Nov 2021
Lesson Progress
0% Complete

At times, neither the compiler nor the linker identified your errors. This means that the program will compile and link but there might be errors when running it. Such errors are called run-time errors. Such errors occur when the program is ordered to execute. If the program has no linking or compilation errors but requests an action which a computer can not execute, it is called run-time errors.

Let’s give an example of run-time errors:

  • Opening a file which does not exist.
  • Trying to divie a value by 0 (which is also known as division error).

A compiler or linker can not recognize such errors but programs with run-time errors can not be run.

Responses

Leave a Reply

%d bloggers like this: