Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Secure Coding in C/C++
Role Play
Rating: 4.6 out of 5(2,292 ratings)
6,080 students

Secure Coding in C/C++

Master Secure C/C++ Programming: Uncover Flaws, Learn Defensive Programming Techniques & Design Robust, Secure Software
Last updated 5/2026
English

What you'll learn

  • Become a proficient C/C++ programmer who prioritizes security
  • Learn defensive programming techniques
  • Understand common security flaws in C/C++ programming
  • Walk through a real-world style attack case, spot red flags in sloppy code, and learn to apply secure, clean C/C++ coding to fix real issues.
  • Master secure coding practices

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

7 sections36 lectures2h 0m total length
  • A Turbulent Tale: System Crash at 30,000 Feet2:58

    This video serves as an instructive illustration of the real-world implications of software vulnerabilities.

  • What You Should Know1:53

    Before starting this course, it's essential to make sure that you meet certain requirements.

  • Join the Official Student Group0:32

Requirements

  • Some familiarity with C/C++ programming is necessary.

Description

Join us in the Secure Coding in C/C++ course and take your programming skills to the next level. Delve into the world of secure coding practices for C and C++ languages. Gain the knowledge and skills to uncover security flaws, defend your code against vulnerabilities, and design robust and secure software applications.


Throughout this course, you'll learn essential techniques and best practices for secure programming in C and C++. We'll start by exploring common security vulnerabilities and their potential impact on software systems. You'll understand the importance of secure coding principles and how they form the foundation for building secure applications.


We'll delve into topics such as input validation, secure memory management, proper error handling, and secure file and data handling. You'll discover how to mitigate risks associated with buffer overflows, format string vulnerabilities, and other common coding pitfalls. With hands-on exercises and real-world examples, you'll gain practical experience in identifying and resolving security issues in your code.


How can choosing a car wallpaper affect vehicle safety? Through a realistic case study, you’ll see how small C++ mistakes in the In-Vehicle Infotainment System code can ripple through the entire system. You'll learn how to trace a realistic car infotainment system exploit, identify unsafe C++ code, and apply secure and clean coding techniques to prevent system-wide compromise.


Our instructor will guide you through each concept, providing clear explanations and practical demonstrations. Using the course Q&A, you'll have the opportunity to engage in discussions with fellow learners, sharing insights and learning from their experiences. Quizzes and coding assignments will help you solidify your understanding and apply secure coding practices in real-world scenarios.


By the end of this course, you'll have a deep understanding of secure programming principles, techniques, and tools specific to C and C++. You'll be equipped with the skills to write secure, reliable, and robust code that can withstand potential attacks and protect sensitive data.


Join us on this journey to becoming a skilled and confident secure C/C++ programmer. Enroll now and take a significant step towards enhancing the security of your software applications.

Who this course is for:

  • C/C++ developers who want to write functional, robust and secure code
  • Programmers who want to master secure C/C++ coding practices
  • Developers who want to understand the common security flaws that can arise in C and C++ programs
  • Anyone who wants to explore the most common C and C++ vulnerabilities, and how to prevent them