Help get this topic noticed by sharing it on Twitter, Facebook, or email.

What compiler is required for Head First C?

Your product details for Head First C do not mention which compiler and platforms are supported. Even though multi threading and network programming are listed as being topics. A detailed ToC would be good too.
1 person has
this question
+1
Reply
  • Thanks for your question. All of the examples are done with gcc. On the Mac, the authors use the one that comes bundled in the Developer tools. On Linux you can install gcc through the package manager. On Windows, the authors use gcc under Cygwin and gcc using MinGW. They use pthreads for the threading chapter. The final four chapters are specifically for Mac, Linux, and Cygwin. So for the final four chapters on Windows you *have* to use Cygwin rather than MinGW.

    And here's the final Table of Contents:

    Intro
    1 Getting started with C: Diving in
    2 Memory and pointers: What are you pointing at?
    2.5 Strings: String theory
    3 Creating small tools: Do one thing and do it well
    4 Using multiple source files: Break it down, build it up
    C lab: Arduino
    5 Structs, unions, and bitfields: Rolling your own structures
    6 Data structures and dynamic memory: Building bridges
    7 Advanced functions: Turn your functions up to 11
    8 Static and dynamic libraries: Hot-swappable code
    C lab: OpenCV
    9 Processes and system calls: Breaking boundaries
    10 Inter-process communication: It’s good to talk
    11 Sockets and networking: There’s no place like 127.0.0.1
    12 Threads: It’s a parallel world 501
    C lab: Blasteroids
    i Leftovers: The top 10 things (we didn’t cover)
    ii C topics: Revision roundup

    I hope that helps answer your questions. Please let me know if there's anything else I can do to help.

    Regards,
    Brian Sawyer
    Senior Editor, O'Reilly Media
    bsawyer@oreilly.com
    @briansawyer
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly happy, confident, thankful, excited indifferent, undecided, unconcerned

  • I’m confused
    I'm a Windows 7 64bit user and I've tried to install MingW first, than I tried to install Cygwin. I tried adding paths to the TEMP directories. I still can't make the Cygwin command prompt to recognize my Card Guessing program. Please help me! I read Head First Programming and did fine with all the Python exercises, and I'm really motivated to learn C. But I can't do anything without a compiler!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited