21st Century C, 2nd Edition
C Tips from the New School
Publisher: O'Reilly Media
Final Release Date: September 2014
Pages: 408

Throw out your old ideas about C and get to know a programming language that’s substantially outgrown its origins. With this revised edition of 21st Century C, you’ll discover up-to-date techniques missing from other C tutorials, whether you’re new to the language or just getting reacquainted.

C isn’t just the foundation of modern programming languages; it is a modern language, ideal for writing efficient, state-of-the-art applications. Get past idioms that made sense on mainframes and learn the tools you need to work with this evolved and aggressively simple language. No matter what programming language you currently favor, you’ll quickly see that 21st century C rocks.

  • Set up a C programming environment with shell facilities, makefiles, text editors, debuggers, and memory checkers
  • Use Autotools, C’s de facto cross-platform package manager
  • Learn about the problematic C concepts too useful to discard
  • Solve C’s string-building problems with C-standard functions
  • Use modern syntactic features for functions that take structured inputs
  • Build high-level, object-based libraries and programs
  • Perform advanced math, talk to internet servers, and run databases with existing C libraries

This edition also includes new material on concurrent threads, virtual tables, C99 numeric types, and other features.

Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreilly21st Century C, 2nd Edition
 
4.5

(based on 6 reviews)

Ratings Distribution

  • 5 Stars

     

    (4)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

83%

of respondents would recommend this to a friend.

Pros

  • Concise (6)
  • Easy to understand (5)
  • Helpful examples (5)
  • Accurate (4)
  • Well-written (3)

Cons

No Cons

Best Uses

  • Intermediate (4)
  • Student (3)
    • Reviewer Profile:
    • Developer (6)

Reviewed by 6 customers

Displaying reviews 1-6

Back to top

 
5.0

Practical, well written and easy to follow

By lyderic

from London, UK

About Me Developer, Sys Admin

Verified Buyer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly 21st Century C, 2nd Edition:

    This book is a must-have if you want some good knowledge on how C is used today.

     
    5.0

    Fantastic

    By Gavin Henry

    from Aberdeen, Scotland

    About Me Developer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Intermediate

    Cons

      Best Uses

      • Intermediate
      • Student

      Comments about oreilly 21st Century C, 2nd Edition:

      I've been using this book whilst studying www.cs.manchester.ac.uk/study/professional-development/study-options/distance-learning/foundation/course-modules/programming-in-c/ and all the "extra" information not found in "core books" is brilliant. The Makefile section, debugging and what things you use in the real world.

      Money well spent.

      (1 of 1 customers found this review helpful)

       
      5.0

      Changed my view on the C language

      By Tapio T

      from Espoo, Finland

      About Me Architect, Developer

      Verified Reviewer

      Pros

      • Concise
      • Easy to understand
      • Fun
      • Helpful examples
      • Well-written

      Cons

      • Skims Over Many Topics

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly 21st Century C, 2nd Edition:

      This is a great book on C that changed my view on the language. Let's say that I had missed some of the latest developments in the language and the libraries. The author does a good job in choosing the best parts of C and telling which features are not worth using. As an example, I have thought for a long time that string manipulation in C is just painful, so there is a lot of focus in the book on how to do string processing in a 21st century way.

      The book is also written in a humorous style and the author is not afraid to express his own opinions.

      (1 of 2 customers found this review helpful)

       
      3.0

      Not a good book for system programmers.

      By farrokhi

      from Queens, NY

      About Me Developer

      Verified Buyer

      Pros

      • Concise

      Cons

      • Too basic

      Best Uses

      • Novice
      • Student

      Comments about oreilly 21st Century C, 2nd Edition:

      If you are coming from a php, ruby or python background, this would be a good book to learn and practice C. But if you care about performance, you will find most of the advices in the book disappointing.

      (2 of 2 customers found this review helpful)

       
      4.0

      Excellent Book

      By wmprice1240

      from Nashua, NH

      About Me Developer

      Verified Reviewer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Student

        Comments about oreilly 21st Century C, 2nd Edition:

        It's refreshing to see a new book on the C language that dives right in and gives you great details on modern usage, idioms etc and isn't just the same standard treatment of data types, pointers, flow control etc. The book is well written with a bit of humor here and there. The author seem extremely knowledgeable and comfortable with the subject matter. Only issues I have found is in some of the sample code, actually the compilation. Compiler options for c99 are listed as:

        CFLAGS = -g -Wall -O3

        in the Makefile example. On Mac OS, the c99 -W command line option does not apply to warnings, but the pointer size for compiled code. Simply change the option of use a different compiler, i.e. clang orc clang++ to resolve the issue.

        All in all a great resource that every C developer should at least read once.

        (6 of 8 customers found this review helpful)

         
        5.0

        Great book

        By Bob

        from Chiang Mai Thailand

        About Me Developer

        Verified Buyer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples

        Cons

          Best Uses

            Comments about oreilly 21st Century C, 2nd Edition:

            I'm working through it rather slowly. But for a C programmer it is a must have.

            Displaying reviews 1-6

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?
            Ebook:  $42.99
            Formats:  ePub, Mobi, PDF
            Print & Ebook:  $54.99
            Print:  $49.99