Secure Programming for C/C++


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
In this course, you’ll explore techniques for writing secure code, including how to use assertions, create defensible methods, write proper if and switch statements, use exceptions, and anticipate and handle errors in your C/C++ code.

Target Audience
Individuals interested in learning the fundamental concepts of secure programming, or experienced programmers wishing to refresh or improve their skills. Previous programming experience with C/C++ or .NET may be beneficial.

Prerequisites
None

Expected Duration (hours)
1.4

Lesson Objectives

Secure Programming for C/C++

  • start the course
  • recognize what clean code is and the best techniques for writing clean code
  • identify the key features of iterative design
  • use pseudo-code to develop programming solutions
  • use assertions in your programming code
  • apply pre and post conditions to C/C++ code
  • recognize how to write testable C/C++ code
  • create examples of defensible methods
  • identify how to apply defensive techniques for method parameters and return values
  • recognize how to implement variable declarations for defendable code
  • identify how to use if and switch statements in creating defendable code
  • 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 in your programs
  • 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
  • Course Number:
    sd_secp_a02_it_enus

    Expertise Level
    Intermediate