C
Learn C from first principles — memory, pointers, and systems programming.
1,219 lessons·All lessons free
- 1What is a low-level language?
- 2The origins at Bell Labs
- 3C's role in Operating Systems
- 4Standards: ANSI C vs C99 vs C11
- 5Why C remains relevant today
- 6C as a compiled language
- 7The trade-off: Power vs Safety
- 8Hardware abstraction in C
- 9Role of the Compiler
- 10Installing GCC on Linux/macOS
- 11Setting up MinGW on Windows
- 12Introduction to the CLI
- 13Using a Text Editor vs IDE
- 14Verifying your installation
- 15The concept of a Source File
- 16Naming conventions for .c files
- 17The 'Hello World' code
- 18The `#include` directive
- 19What is a Header File?
- 20The `main()` function entry point
- 21Curly braces `{}` and blocks
- 22Semicolons as statement terminators
- 23Case sensitivity in C
- 24The `return 0;` statement
- 25Phase 1: The Preprocessor
- 26Phase 2: Compilation to Assembly
- 27Phase 3: Assembly to Object Code
- 28Phase 4: The Linker
- 29Understanding `.o` and `.obj` files
- 30Creating an executable binary
- 31How the OS runs a program
- 32Executing from the command line
- 33Single-line comments `//`
- 34Multi-line comments `/* */`
- 35Documenting intent vs mechanics
- 36Whitespace and indentation
- 37Readability best practices
- 38Commenting out code for testing
- 39Nested comment pitfalls
- 40C coding style guides
- 41The `stdio.h` library
- 42Basic `printf` syntax
- 43Printing literal strings
- 44Newline character `\n`
- 45Horizontal tab `\t`
- 46Escaping double quotes
- 47Escaping the backslash
- 48The percent sign `%%` literal
- 49Introduction to Format Specifiers
- 50Printing integers with `%d`
- 51Printing characters with `%c`
- 52Printing decimals with `%f`
- 53The `%s` specifier for strings
- 54Multiple specifiers in one line
- 55Argument-specifier matching
- 56Basic field width formatting
- 57Basic `gcc` command flags
- 58Naming the output with `-o`
- 59Compiling multiple source files
- 60Understanding the `a.out` default
- 61Introduction to `make` and Makefiles
- 62Automating the build process
- 63Header search paths
- 64Library linking basics
- 65Syntax errors vs Logic errors
- 66Reading compiler error messages
- 67Line number tracking
- 68Warnings vs Fatal errors
- 69Enabling all warnings with `-Wall`
- 70The 'undefined reference' linker error
- 71Common beginner typos
- 72Debugging by printing