C/C++ Particularities Course

This course covers all of the C/C++ particularities a programmer needs to know to create secure programs using these languages.

2 hours, 44 minutes

Course description

Explore the particularities and challenges of C/C++. This includes integer manipulation, use of local variables, use of dynamic memory, buffer overflow protection and string manipulation.

Syllabus

C++ Strings

Video - 00:04:00

Explore C++ strings and the relative safety of different string classes.
Security-Enhanced Version of CRT Functions

Video - 00:17:00

Take a look at the safe C API and how to use it on Windows and Linux.
C Strings

Video - 00:32:00

What is a C string, and how do we safely use C string manipulation functions? What kind of security issues can cause C output formatting?
Buffer Overflow

Video - 00:34:00

What is a buffer overflow? How does a hacker can exploit buffer overflows, and how can we avoid this? Explore that and more in this video.
Memory Management

Video - 00:13:00

Is dynamically allocated memory initialized by default? How does heap randomization help to make programs more secure?
Local Variables

Video - 00:32:00

In this video, you'll look at safely using local variables and how to avoid data leaks.
Integer Manipulation

Video - 00:30:00

How do computers store negative value? How large can integer values be? How do I compare signed and unsigned value, and what about avoiding overflow and underflow?
Introduction to C/C++ Particularities

Video - 00:01:00

Let's take a look at what is included in this course.

Meet the author

Martin Dubois

Martin Dubois obtained a degree in computer engineering from Laval University, Québec City, in 1993. He worked in many high-tech start-ups as software developer and software development leader. He mainly developed in C and C++, creating embedded software and device drivers for Windows and Linux. In 2000, he became a freelancer. He helps clients to develop safe, functional and efficient software systems. In addition to developing in C and C++, he provides expert corporate training about device driver development and other related subjects.

Martin is deeply interested in computer security. He never misses the Québec City Hackfest event and even presented subjects twice. He has been a part-time lecturer at colleges and university for over 15 years, where he did teach computer science, programming, and network security.

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments

Associated NICE Work Roles

All Infosec training maps directly to the NICE Workforce Framework for Cybersecurity to guide you from beginner to expert across 52 Work Roles.

  • Multi-Disciplined Language Analyst
  • Cyber Operator
  • Law Enforcement / Counterintelligence Forensics Analyst

Plans & pricing

Infosec Skills Personal

$299 / year

  • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Custom certification practice exams (e.g., CISSP, Security+)
  • Skill assessments
  • Infosec peer community support

Infosec Skills Teams

$799 per license / year

  • Team administration and reporting
  • Dedicated client success manager
  • Single sign-on (SSO)
    Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
  • Integrations via API
    Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
  • 190+ role-guided learning paths and assessments (e.g., Incident Response)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Create and assign custom learning paths
  • Custom certification practice exams (e.g., CISSP, CISA)
  • Optional upgrade: Guarantee team certification with live boot camps

Learn about scholarships and financing with

Affirm logo

Award-winning training you can trust