Learn C the Hard Way: Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)
 Forget old-fashioned C programming books that assume the reader is a computer hardware expert and teach frustrating, old-fashioned coding styles. If your students know any language at all, Zed A. Shaw's Learn C the Hard Way can help them get started fast with modern C programming. This book/CD package is called "The Hard Way," but it's really quite easy: it just requires discipline, practice, and persistence. Shaw teaches how to write modern, clean, clear C code through dozens of brilliantly-crafted exercises, most on two pages. Shaw offers plenty of extra help through 5+ full hours of CD-based teaching video. Nothing important comes without discipline, practice, and persistence.
Table of Content
Exercise 0: The Setup
Exercise 1: Dust Off That Compiler
Exercise 2: Using Makefiles to Build
Exercise 3: Formatted Printing
Exercise 4: Using a Debugger
Exercise 5: Memorizing C Operators
Exercise 6: Memorizing C Syntax
Exercise 7: Variables and Types
Exercise 8: If, Else-If, Else
Exercise 9: While-Loop and Boolean Expressions
Exercise 10: Switch Statementsc
Exercise 11: Arrays and Strings
Exercise 12: Sizes and Arrays
Exercise 13: For-Loops and Arrays of Stringsc
Exercise 14: Writing and Using Functions
Exercise 15: Pointers, Dreaded Pointers
Exercise 16: Structs and Pointers to Them
Exercise 17: Heap and Stack Memory Allocation
Exercise 18: Pointers to Functions
Exercise 19: Zed's Awesome Debug Macros
Exercise 20: Advanced Debugging Techniques
Exercise 21: Advanced Data Types and Flow Control
Exercise 22: The Stack, Scope, and Globals
Exercise 23: Meet Duff's Device
Exercise 24: Input, Output, Files
Exercise 25: Variable Argument Functions
Exercise 26: Project logfind
Exercise 27: Creative and Defensive Programming
Exercise 28: Intermediate Makefiles
Exercise 29: Libraries and Linking
Exercise 30: Automated Testing
Exercise 31: Common Undefined Behavior
Exercise 32: Double Linked Lists
Exercise 33: Linked List Algorithms
Exercise 34: Dynamic Array
Exercise 35: Sorting and Searching
Exercise 36: Safer Strings
Exercise 37: Hashmaps
Exercise 38: Hashmap Algorithms
Exercise 39: String Algorithms
Exercise 40: Binary Search Trees
Exercise 41: Project devpkg
Exercise 42: Stacks and Queues
Exercise 43: A Simple Statistics Engine
Exercise 44: Ring Buffer
Exercise 45: A Simple TCP/IP Client
Exercise 46: Ternary Search Tree
Exercise 47: A Fast URL Router
Exercise 48: A Simple Network Server
Exercise 49: A Statistics Server
Exercise 50: Routing the Statistics
Exercise 51: Storing the Statistic
Exercise 52: Hacking and Improving Your Server
"
|
Salient Features
By top blogger and outstanding teacher Zed Shaw
CD contains 5+ hours of teaching video
Refined through Shaw's years of instructional work online, where he attracts thousands of visitors per day: an older online version of this book earned 500K+ downloads"
|
|
|
|
|