Перейти к содержимому

Pointers, Arrays & Strings in C – Beej's Guide Part 1

Gabe Sampson

0:00 / 0:00

Pointers, Arrays & Strings in C – Beej's Guide Part 1

20 686 просмотров · Трансляция закончилась 13 дней назад
Gabe Sampson
5,97 тыс. подписчиков
20 686 просмотров · Трансляция закончилась 13 дней назад
join the discord:   / discord   im tired of ai doomerism. the only thing i can control is getting better. im livestreaming daily for accountability. i am a junior web developer, i want to learn systems programming. Beej's Guide to C: https://beej.us/guide/bgc/html FAQ Why C and Zig and not Rust/Odin/Nim/Go/etc? Because I am looking to learn explicit memory management and be in control as much as possible. I believe these languages are the best for that. Are you a beginner? No, I am a junior backend software developer with 3 years experience. What neovim theme and font do you use? It is a custom version of Monokai Pro Spectrum just with a darker background and some adjustments to make it work with my plugins, and the font is Hack Nerd Font Mono. Chapters 0:00 Starting a structured systems programming path 4:07 What to expect from C 7:52 The roadmap from C to Zig and operating systems 9:45 C functions, prototypes and declarations 12:07 Pointers, memory addresses and the & operator 19:10 Pointer types and dereferencing 23:40 Passing pointers to modify caller variables 28:39 NULL, pointer declarations and sizeof 33:31 Daily learning, accountability and programming foundations 38:19 Arrays, indexing and length with sizeof 43:30 Array initializers and out-of-bounds access 47:33 Multidimensional arrays and row-major order 49:47 Passing arrays to functions 56:49 String literals, char pointers and mutable arrays 1:02:59 strlen and null-terminated strings 1:08:07 Reading a strlen loop and copying with strcpy 1:11:24 Webcam checks, typing tests and the split keyboard 1:19:47 Guide progress and upcoming C topics 1:21:46 Learning programming and checking AI’s work 1:28:46 Learning hard skills through practice 1:31:10 Why Zig, plus Melee conversation 1:34:45 Wrap-up: structs next and applying the foundations