Defendable Code and Errors

Defensive Coding C/C++    |    Intermediate
  • 11 videos | 40m 55s
  • Includes Assessment
  • Earns a Badge
Likes 12 Likes 12
The goal of defensive programming is to prevent errors caused by user interaction. Explore defensive programming in C//C++ including defendable code, error handling, methods, and variables.

WHAT YOU WILL LEARN

  • create examples of defensible methods in C/C++
    identify the techniques for applying defensive techniques for method parameters and return values in C/C++ methods
    recognize how to implement variable declarations for defendable code
    identify how to use if and switch statements in creating defendable code
    identify error-handling techniques to promote defensive coding
    demonstrate how to use exceptions to handle errors
  • create a C/C++ application that incorporates error codes and messages into its error handling
    recognize how to use error processing and global objects
    identify how to handle errors locally in C/C++ code
    recognize how to anticipate potential errors in C/C++ code
    use defensive coding techniques to create clean testable methods

IN THIS COURSE

  • 4m 5s
    Learn how to create examples of defensible methods in C++. FREE ACCESS
  • 3m 47s
    Find out how to identify the techniques for applying defensive techniques to method parameters and return values in C/C++ methods. FREE ACCESS
  • Locked
    3.  Variables  in C/C++
    3m 15s
    After completing this video, you will be able to recognize how to implement variable declarations for code that is defensible. FREE ACCESS
  • Locked
    4.  If and Switch Statements  in C/C++
    3m 26s
    In this video, you will learn how to use if and switch statements to create defendable code. FREE ACCESS
  • Locked
    5.  Error Handling  in C/C++
    4m 32s
    Learn how to identify error-handling techniques to promote defensive coding. FREE ACCESS
  • Locked
    6.  Utilizing  Exceptions in C/C++
    3m 31s
    In this video, you will learn how to use exceptions to handle errors. FREE ACCESS
  • Locked
    7.  Error Codes and Messages in C/C++
    3m 41s
    Learn how to create a C/C++ application that incorporates error codes and messages into its error handling. FREE ACCESS
  • Locked
    8.  Error Processing and Global Objects  in C/C++
    2m 23s
    After completing this video, you will be able to recognize how to use error processing and global objects. FREE ACCESS
  • Locked
    9.  Handling Errors Locally  in C/C++
    3m 46s
    In this video, you will learn how to handle errors in C/C++ code. FREE ACCESS
  • Locked
    10.  Anticipating Errors  in C/C++
    2m 58s
    Upon completion of this video, you will be able to recognize how to anticipate potential errors in C/C++ code. FREE ACCESS
  • Locked
    11.  Exercise: Creating Clean Testable Code for C/C++
    5m 32s
    In this video, learn how to use defensive coding techniques to create clean, testable methods. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.