Head First C: A Brain-Friendly Guide

Front Cover
"O'Reilly Media, Inc.", Apr 3, 2012 - Computers - 632 pages

Ever wished you could learn C from a book? Head First C provides a complete learning experience for C and structured imperative programming. With a unique method that goes beyond syntax and how-to manuals, this guide not only teaches you the language, it helps you understand how to be a great programmer. You'll learn key areas such as language basics, pointers and pointer arithmetic, and dynamic memory management. Advanced topics include multi-threading and network programming—topics typically covered on a college-level course.

This book also features labs: in-depth projects intended to stretch your abilities, test your new skills, and build confidence. Head First C mimics the style of college-level C courses, making it ideal as an accessible textbook for students.

We think your time is too valuable to waste struggling with new concepts. Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First C uses a visually rich format designed for the way your brain works, not a text-heavy approach that puts you to sleep.

 

Contents

Getting Started with C Diving in
1
Memory and Pointers What are you pointing at?
41
Strings String theory
83
Creating Small Tools Do one thing and do it well
103
Using Multiple Source Files Break it down build it up
157
Arduino
207
Structs Unions and Bitfields Roll your own structures
217
Data Structures and Dynamic Memory Building bridges
267
OpenCV
389
Processes and System Calls Breaking boundaries
397
Interprocess Communication Its good to talk
429
Sockets and Networking Theres no place like 127001
467
Threads Its a parallel world
501
Blasteroids
523
Leftovers The top ten things we didnt cover
539
C Topics Revision roundup
553

Advanced Functions Turn your functions up to 11
311
Static and Dynamic Libraries Hotswappable code
351

Other editions - View all

Common terms and phrases

About the author (2012)

David Griffiths began programming at age 12, after being inspired by a documentary on the work of Seymour Papert. At age 15 he wrote an implementation of Papert's computer language LOGO. After studying Pure Mathematics at University, he began writing code for computers and magazine articles for humans and he is currently an agile coach with Exoftware in the UK, helping people to create simpler, more valuable software. He spends his free time traveling and time with his lovely wife, Dawn.

Dawn Griffiths started life as a mathematician at a top UK university where she was awarded a First-Class Honours degree in Mathematics. She went on to pursue a career in software development, and has over 15 years experience working in the IT industry. Dawn has written several books, including Head First C, Head First Statistics and Head First 2D Geometry.

Bibliographic information