Error reporting in C++ - Invalid values (4/13)

Поділитися
Вставка
  • Опубліковано 22 бер 2024
  • Join me in these bi-weekly series to explore the topic of error reporting in C++.
    The focus of this course is the design of functions that normally return a value, but an error may occur so, what should they return instead?
    In this video we will be looking at reporting errors using invalid values.
    The concept is similar to the previous one, if an error occurs, we return an "invalid" value.
    If everything goes well, we return the actual value.
    This approach is simple to use and understand, however, it is error prone and could lead to programming mistakes.
    The course is also available FOR FREE on Udemy.
    It includes coding exercises so you can practice what you have learned.
    Check it out and please consider leaving a review if you find it helpful: www.udemy.com/course/error-re...
  • Наука та технологія

КОМЕНТАРІ •