Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Integer Type Selection in C++ - Safe, Secure and Correct Code

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how to choose integer types in C++ and why those choices matter. It covers signed and unsigned integers, exact-width types, overflow, and related safety and security concerns.

Syllabus

Introduction
Topics
Signed
twos complement
unsigned intertypes
pure binary
overflow
sign vs unsigned
Undefined Behavior
SizeT
Optimization
Volatiles
Size T
Use Cases
Signed and Unsigned
SsizeT
Poll
Use Case
Signed Integers
When You Subtract
How Much Storage
Unsigned Integers
Do While Loop

Taught by

CppNow

Reviews

Start your review of Integer Type Selection in C++ - Safe, Secure and Correct Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.