- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
How to Actually Learn C (2027 Edition)
This is a quick and painless tutorial on starting to impelement Coreutils 'ls' in C.
*Repo:* https://github.com/tonybanters/lsbtw
*XMPP Room* xmpp:tonybtw@conference.xmpp.tonybtw.com?join
*Ko-Fi:* https://ko-fi.com/tonybtw
*Music:*
https://www.youtube.com/watch?v=RPrgNFnbAhQ
https://www.youtube.com/watch?v=Jy7FMagiTFk
Chapters
0:00 Intro
1:15 The Plan: ls, ls -a, ls -l
2:10 Your First C Program: main()
2:45 Compiling with GCC
3:27 printf and Header Files
4:13 Command-Line Args: argc & argv
5:59 Handling a Missing Argument
6:53 Opening a Directory: opendir
8:21 Error Handling with perror
9:36 Reading Entries: readdir
11:23 Looping Over the Directory
12:01 Hiding Dotfiles & closedir
13:18 Parsing -a with getopt
16:47 Implementing -l: The stat Syscall
17:44 Building the Permission String
21:20 Owner & Group Lookups
22:26 print_long & lstat
25:57 First Test: Permissions, User, Group
26:49 Formatting the Date with strftime
28:43 Adding Size & Link Count
29:33 Wiring Up the -l Flag
30:34 Final Demo: ls -l and ls -la
31:06 Obligatory Neofetch
#linux #c #programming
Видео How to Actually Learn C (2027 Edition) канала tony
*Repo:* https://github.com/tonybanters/lsbtw
*XMPP Room* xmpp:tonybtw@conference.xmpp.tonybtw.com?join
*Ko-Fi:* https://ko-fi.com/tonybtw
*Music:*
https://www.youtube.com/watch?v=RPrgNFnbAhQ
https://www.youtube.com/watch?v=Jy7FMagiTFk
Chapters
0:00 Intro
1:15 The Plan: ls, ls -a, ls -l
2:10 Your First C Program: main()
2:45 Compiling with GCC
3:27 printf and Header Files
4:13 Command-Line Args: argc & argv
5:59 Handling a Missing Argument
6:53 Opening a Directory: opendir
8:21 Error Handling with perror
9:36 Reading Entries: readdir
11:23 Looping Over the Directory
12:01 Hiding Dotfiles & closedir
13:18 Parsing -a with getopt
16:47 Implementing -l: The stat Syscall
17:44 Building the Permission String
21:20 Owner & Group Lookups
22:26 print_long & lstat
25:57 First Test: Permissions, User, Group
26:49 Formatting the Date with strftime
28:43 Adding Size & Link Count
29:33 Wiring Up the -l Flag
30:34 Final Demo: ls -l and ls -la
31:06 Obligatory Neofetch
#linux #c #programming
Видео How to Actually Learn C (2027 Edition) канала tony
Комментарии отсутствуют
Информация о видео
5 июня 2026 г. 18:00:22
00:31:41
Другие видео канала





















