A collection of the exercises from the book (learn c the hard way)[https://learncodethehardway.org/c/]
clone the repository with
git clone --recursive https://github.com/MarcMcIntosh/learn-c-the-hard-way
Each folder solutions is named after a chapter in the book.
- Exersize 0: The set-up
- Exersize 1: Dust of that compiler
- Exersize 2: Using Makefiles to build
- Exersize 3: Formatted Printing
- Exersize 4: Using a debugger
- Exersize 5: Memorizing C Operators
- Exersize 6: Memorizing C Syntax
- Exersize 7: Variables and Types
- Exersize 8: if, else-if, else
- Exersize 9: While-loop and boolean expressions
- Exersize 10: Switch statements
- Exersize 11: Arrays and Strings
- Exersize 12: Sizes and Arrays
- Exersize 13: For-loops and Arrays of Strings
- Exersize 14: Writing and Using functions
- Exersize 15: Pointers, dreaded pointers
- Exersize 16: structs and pointers to them
- Exersize 17: Heap and stack memory allocation
- Exersize 18: Pointers to functions
- Exersize 19: Zed's awesome Debug macros
- Exersize 20: Advanced debugging techniques
- Exersize 21: Advanced data-types and flow control
- Exersize 22: The stack, scope and globals
- Exersize 23: Meet Duff's device
- Exersize 24: Input, Output, Files
- Exersize 25: Variable Argument Functions
- Exersize 26: Project logfind
- Exersize 27: Creative and defensive programming
- Exersize 28: Intermediate Makefiles
- Exersize 29: Libraries and linking
- Exersize 30: Automated testing
- Exersize 31: Common undefined behavior
- Exersize 32: Double linked lists
- Exersize 33: Linked list algorithms
- Exersize 34: Dynamic Array
- Exersize 35: Sorting and searching
- Exersize 36: Safer strings
- Exersize 37: Hashmaps
- Exersize 38: Hashmap Algorithms
- Exersize 39: String Algorithms
- Exersize 40: Binary search trees
- Exersize 41: Project devpkg
- Exersize 42: Stacks and Queues
- Exersize 43: A simple statistics engine
- Exersize 44: Ring buffer
- Exersize 45: A simple TCP/IP Client
- Exersize 46: Ternary Search Tree
- Exersize 47: A fast URL router
- Exersize 48: A simple Network Server
- Exersize 49: A Statistics server
- Exersize 50: Routing and Statistics
- Exersize 51: Storing the Statistics
- Exersize 52: Hacking and improving your server