03 - Basic Data Types
STEM / Programming / Whatever
In video 03 of our series on rediscovering the C programming language, we discuss basic data types such as int, char, and float and how we need to pay attention to the system we are targeting for our binary to run on because it can affect how our data is stored. We also discuss strategies to make a bit easier such as using signed or unsigned variables where appropriate as well as using stdint.h from the standard library. Music was downloaded from mixkit.co and is by Lily J.
Code can be found at: https://github.com/ronwellman/rediscover_c
00:42 - char 00:55 - int 02:33 - sizeof 03:34 - signed vs unsigned 05:45 - machine type 06:04 - 32 vs 64 bit OS 06:13 - uname 10:53 - compile for 32 bit 11:26 - gcc-multilib 14:15 - ascii 16:53 - integer overflow 21:00 - float 24:40 - stddef.h 25:12 - size_t 30.07 - stdbool.h 33:48 - stdint.h 36:10 - uint32_t, uint8_t 39:33 - Recap
221904039 Bytes