| | |
| | |
| | |
Learning Objectives Description: In Integer Types you learn about the representation, ranges, behavior, and uses of essential integer types in the C programming language including: unsigned integers, signed integers, character types, size_t, ptrdiff_t, intmax_t, and uintmax_t. Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Introduction to integer types Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Unsigned integers Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Signed integers Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Character types Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
size_t Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
ptrdiff_t, intmax_t and uintmax_t Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Summary Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Lesson 2: Integer Conversions | | |
Learning Objectives Description: In Integer Conversions you learn the rules governing integer conversions in the C programming language and how the C language converts integers to unsigned and signed types. Topics include; conversion rank, promotions, and the usual arithmetic conversions; conversions to unsigned types; and conversions to signed types. Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
| | |
Conversions to unsigned types Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Conversions to signed types Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Summary Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Lesson 3: Integer Operations | | |
Learning Objectives Description: In Integer Operations you learn the behaviors of common integer operators, how to avoid undefined behaviors, and how to program safely and securely in the presence of implementation-defined behaviors. Topics include: assignment, addition and subtraction, multiplication and upcasting, division and remainder, and shifting. Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Assignment Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Addition and subtraction Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Multiplication and upcasting Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Division and remainder Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Shifting Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Summary Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Lesson 4: Characters, Arrays, and Strings | | |
Learning Objectives Description: In Characters, Arrays, and Strings you learn about how strings are represented as null terminated character arrays in the C programming language. You learn about properties of arrays, as understanding their behavior is critical to understanding C language strings. You also learn about string literals and their use and idiosyncrasies in initializing arrays. You also learn about the underlying (and undocumented) philosophy underlying the use of the character types in the C language. Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Sizing arrays Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
| | |
| | |
Summary Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Lesson 5: String Handling | | |
Learning Objectives Description: In String Handling, you learn about the memory models available to C language programming as well as the advantages of bounds-checking interfaces over the standard C string handling functions defined in <string.h>. Topics include: caller allocates, caller frees; bounds-checking interfaces; callee allocates and caller frees (POSIX). Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Caller allocates, caller frees Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Bounds-checking interfaces Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Callee allocates, caller frees (POSIX) Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Summary Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
| | |
Learning Objectives Description: In Optimization you learn what undefined behavior is, how the C standard identifies undefined behaviors in the language, and the latitude it grants to compilers in dealing with undefined behaviors. You also learn about common compiler optimizations and how these optimizations can produce unexpected behaviors. Topics include: undefined behaviors and the “as if” rule; constant folding; algebraic simplification and pointer arithmetic; hoisting of loop-invariant computations; dead-code removal; and aliasing. Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
| | |
Constant folding Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
| | |
| | |
Dead-code removal Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Aliasing Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
Summary Description: Description Closed Captioning: Unavailable Mobile-Friendly Format: Available on m.safaribooksonline.com Example Files: Available on Extras tab | | |
| | |
| | |