Development
Code
C
EN
RU
C
Course
C course: zero to hero in 80 lessons
Eighty lessons in thirteen parts: types, pointers, memory, data structures, the standard library, POSIX and capstone projects.
Open
→
All articles
c/
basics/
(1)
C basics: what the language is and where it is used
course/
(81)
C programming course: from the first program to systems programming
1 What C is and how a program becomes a binary
2 Install the toolchain
3 Your first program
4 Comments and code style
5 Variables and fundamental types
6 Integers, widths and limits
7 Floating-point numbers
8 Operators and precedence
9 Conversions and casts
10 Formatted input and output
11 Bit manipulation
12 if and else
13 switch
14 Loops
15 break, continue and goto
16 Recursion
17 Functions
18 Scope and storage
19 Multi-file programs
20 Makefiles
21 CMake
22 Arrays
23 Strings
24 Characters and ctype.h
25 The string.h functions
26 Safe string handling
27 Pointers
28 Pointer arithmetic and arrays
29 Function pointers
30 The stack and the heap
31 malloc, calloc and realloc
32 Memory leaks and ownership
33 Arenas and pools
34 Undefined behaviour
35 Sanitizers
36 Structs
37 Unions and bit-fields
38 Enumerations
39 const and restrict
40 Opaque types and objects in C
41 Design patterns in C
42 The preprocessor
43 Macros
44 Generic code
45 Variadic functions
46 Error handling
47 Elementary sorting
48 Merge sort and quicksort
49 Linear and binary search
50 A dynamic array
51 Linked lists
52 A hash table
53 Binary search trees
54 The stdlib.h toolbox
55 Text files
56 Binary files
57 Directories and file metadata
58 Text processing
59 Time and clocks
60 Random numbers
61 Debugging with gdb
62 Compiler flags and optimisation
63 Testing C code
64 Profiling
65 Build automation and CI
66 C23 features
67 Processes
68 Signals
69 Pipes
70 Sockets
71 A TCP server
72 POSIX threads
73 Mutexes and condition variables
74 Atomics and the memory model
75 Command-line arguments
76 Capstone: word frequency
77 Capstone: word frequency report
78 Capstone: a calculator parser
79 Capstone: a calculator evaluator
80 Capstone: a threaded HTTP server
gcc/
(1)
GCC
lessons/
(1)
C Textbook
What is argc, char * argv[] in C
Boolean in C
Hello World in C
Kernighan and Ritchie problems solution
Operator «arrow» pointer to member structure
Pointers in C
scanf
Sockets in C
Structures in C