logo
Tips for C Programming
Nic Barker

484,695 views

20,489 likes

A quick run through of some tips for programming in C that have helped with my productivity and enjoyment of the language.

Referenced in this video:

Anthony Calandra, Summary of features introduced in each C version

https://github.com/AnthonyCalandra/modern-c-features

Tim Cain, Why I Left Fallout 2:

https://www.youtube.com/watch?v=UGfaCXEu0tE

Lucas Sardois, Generational Indexes:

https://lucassardois.medium.com/generational-indices-guide-8e3c5f7fd594

Andre Weissflog, "Handles Are The Better Pointers"

https://floooh.github.io/2018/06/17/handles-vs-pointers.html

Function to force the debugger to break:

https://stackoverflow.com/questions/173618/is-there-a-portable-equivalent-to-debugbreak-debugbreak

My videos about Allocators and Arenas:

https://youtu.be/GZ6PuLikw84

https://youtu.be/hI9aN8ZG4vg

If you're interested, I also produce a paid programming fundamentals course at https://thesimplejoyofprogramming.com

0:00-2:19 Introduction

2:19-7:40 C Standards & Versions

7:40-8:40 Compiler Flags

8:40-11:58 Unity Build

11:58-16:22 Debugger

16:22-20:01 ASAN

20:01-28:03 Arrays & Strings

28:03-30:52 Pointers

30:52-34:40 Arenas