You are previewing Absolute Beginner’s Guide to C, 2nd Edition.
O'Reilly logo
Absolute Beginner’s Guide to C, 2nd Edition

Book Description

For beginning programmers, this updated edition answers all C programming questions. This bestseller talks to readers at their level, explaining every aspect of how to get started and learn the C language quickly. Readers also find out where to learn more about C. This book includes tear-out reference card of C functions and statements, a hierarchy chart, and other valuable information. It uses special icons, notes, clues, warnings, and rewards to make understanding easier. And the clear and friendly style presumes no programming knowledge.

Table of Contents

  1. Title Page
  2. Copyright Page
  3. Overview
  4. Contents
  5. Acknowledgments
  6. About the Author
  7. Introduction
  8. Part 1. First Steps with C
    1. 1. What Is C Programming?
    2. 2. How Do I Get Started in C?
    3. 3. How Do I Know What’s Happening?
    4. 4. Can I See Results?
    5. 5. How Do I Store Stuff?
    6. 6. Can C Store Words?
    7. 7. What Do #include and #define Mean?
    8. 8. Can I Ask the User Questions?
    9. 9. How Does C Do Math?
  9. Part 2. The Operating Room
    1. 10. What Else Can I Do with Expressions?
    2. 11. Can I Compare Two Values?
    3. 12. How Do I Test Several Things at Once?
    4. 13. Are There More Operators?
  10. Part 3. Keeping Control
    1. 14. How Can I Do the Same Stuff Over and Over?
    2. 15. Are There Other Loops?
    3. 16. What if I Want to Stop in the Middle of a Loop?
    4. 17. How Can I Test Lots of Values?
    5. 18. How Else Can I Control Input and Output?
    6. 19. Can You Tell Me More About Strings?
    7. 20. Can C Do My Math Homework?
  11. Part 4. C Programs and Lots of Data
    1. 21. How Does C Work with Lists?
    2. 22. How Can I Search for Data?
    3. 23. How Can I Arrange and Alphabetize?
    4. 24. What’s the Point?
    5. 25. How Are Arrays and Pointers Different?
    6. 26. Where’s More Memory?
    7. 27. How Do I Store Lots of Data?
  12. Part 5. Form Follows Functions
    1. 28. Can My Programs Save Stuff on Disk?
    2. 29. Is There Another Way to Save Files?
    3. 30. How Can I Better Organize My Programs?
    4. 31. How Do Functions Share Data?
    5. 32. How Can I Perfect My Functions?
  13. A. Where Do I Go from Here?
  14. B. Playing Around with C Blackjack
  15. C. The ASCII Table
  16. Index
  17. Go Ahead. Plug Yourself Into Prentice Hall Computer Publishing
  18. Inside Front Cover
  19. Order of Operators
  20. Crib Notes