YoVDO

Choosing the Right Integer Types in C and C++

Offered By: code::dive conference via YouTube

Tags

Code::Dive Courses C Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of integer types in C and C++ programming languages in this comprehensive conference talk from code::dive 2018. Delve into the challenges posed by various signed and unsigned integer types, their impact on program efficiency and portability, and discover extended integer types that can resolve common issues. Learn how to leverage these extended types to enhance code quality and portability across different platforms. Gain insights into topics such as auto keywords, alignment, processor size, basic integers, character types, boolean types, arithmetic conversions, standard integer types, and more. Understand the importance of choosing the right integer types and how it affects program performance and reliability. By the end of this talk, acquire the knowledge to make informed decisions about integer type selection in your C and C++ projects, leading to more robust and portable code.

Syllabus

Introduction
Agenda
The problem
What could go wrong
Auto in C
Auto everything
Moving between platforms
Why C
Alignment
Processor Size
Basic Integers
Character Types
Boolean Types
Arithmetic and unsigned types
Standard integer types
Arithmetic conversions
Formalism
Ranking Scheme
Conversions
Testing
Narrowing Conversion
Signed Integers
Guaranteed Size
The Same Size
The Platforms Vary
The Sizes Arent Secret
Symbolic Constants
Context Constants
CharBed
Bit Size
Numeric Limits
Standard End
Exact Width
Int Least
Integer Fast
Signed Integer Type
Size Type
Difference Type
C Auto
CPPCon
Summary


Taught by

code::dive conference

Related Courses

UNSW Computing 1 - The Art of Programming
OpenLearning
C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
Beginning Game Programming with C#
University of Colorado System via Coursera
Introduction to Computing 计算概论A
Peking University via Coursera
Comprendre les Microcontroleurs
École Polytechnique Fédérale de Lausanne via Coursera