COVID-19 update: Victoria update. Click for details.
Contact Us Need help? Contact us
Explore Departments
Departments

Learn C the Hard Way: Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)

by Zed Shaw

  • Paperback
    $58.95
ISBN: 9780321884923
ANNOTATION:
This book/CD package is called 'The Hard Way, ' but it's really quite easy: it just requires discipline, practice, and persistence. Shaw teaches you how to write modern, clean, clear C code through dozens of exercises, most on two pages
$58.95
Or pay later with
Leaves warehouse in 6 to 8 days
From USA
Delivery
Check your delivery time: Your delivery location:
{{ SelectedArea.Suburb }}{{ SelectedArea.Country == 'AU' ? (', ' + SelectedArea.State) : '' }} ({{ SelectedArea.Postcode }}) change
  • {{ Area.Suburb }}{{ Area.Country == 'AU' ? (', ' + Area.State) : '' }} {{ Area.Postcode }}
  • Your area not listed?
    Try search by suburb and postcode.
{{ DeliveryOption.expectation }} - {{ DeliveryOption.door_time }}
{{ DeliveryOption.price | currencyCentsFree }}
from {{ DeliveryOption.price | currencyCentsFree }}
Option unavailable
If ordered {{ DeliveryOption.cutoff }}
{{ DeliveryOption.name }}
{{ DeliveryOption.special_message }}
 
 
!
An error occurred getting delivery options
Sorry about that, please try again later.
OTHER FORMATS:
  • Paperback
    $58.95
ISBN: 9780321884923
ANNOTATION:
This book/CD package is called 'The Hard Way, ' but it's really quite easy: it just requires discipline, practice, and persistence. Shaw teaches you how to write modern, clean, clear C code through dozens of exercises, most on two pages

Annotation

This book/CD package is called 'The Hard Way, ' but it's really quite easy: it just requires discipline, practice, and persistence. Shaw teaches you how to write modern, clean, clear C code through dozens of exercises, most on two pages

Publisher Description

Zed Shaw has crafted the perfect course for the beginning C programmer eager to advance their skills in any language. Follow it and you will learn the many skills early and junior programmers need to succeed-just like the hundreds of thousands of programmers Zed has taught to date! You bring discipline, commitment, persistence, and experience with any programming language; the author supplies everything else. In Learn C the Hard Way, you'll learn C by working through 52 brilliantly crafted exercises. Watch Zed Shaw's teaching video and read the exercise. Type his code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. As you do, you'll learn what good, modern C programs look like; how to think more effectively about code; and how to find and fix mistakes far more efficiently. Most importantly, you'll master rigorous defensive programming techniques, so you can use any language to create software that protects itself from malicious activity and defects.

Author Biography

Zed Shaw is an avid guitar player, programmer, and writer whose books teach people all over the world how to write software. His books Learn Python the Hard Way and Learn Ruby the Hard Way (both now in their third editions) have been read by millions of people around the world. His software has been used by many large and small companies. His essays are often quoted and read by members of many geek communities. An entertaining and lively writer, he will keep you laughing and make you think.

Table of Contents

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 Statements          

Exercise 11: Arrays and Strings           

Exercise 12: Sizes and Arrays
Exercise 13: For-Loops and Arrays of Strings
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 Statistics             

Exercise 52: Hacking and Improving Your Server             

Next Steps

Product Details

Author
Zed Shaw
Short Title
LEARN C THE HARD WAY
Publisher
Addison-Wesley Professional
Language
English
ISBN-10
0321884922
ISBN-13
9780321884923
Media
Book
Format
Paperback
Country of Publication
United States
Year
2015
Pages
384
Subtitle
Practical Exercises on the Computational Subjects You Keep Avoiding (Like C)
Publication Date
2015-08-26
Edition
1
Series
Zed Shaw's Hard Way
Audience
College/Higher Education