* A fun and easy introduction to C
programming that draws on content from the author's classic C For Dummies,
Volumes One and Two (1-87805-878-9 and 1-56884-915-X)
* Gets newcomers up and running fast on C fundamentals-from conditional statements, constants and variables, numeric values, and arrays to strings, functions, pointers, and debugging-and shows them how to write their first program
* Includes more than 100 sample programs that novice programmers can readily adapt, as well as a companion Web site with links to a freeware C compiler
* Updated throughout to comply with the latest ANSI standard
* Written by bestselling author Dan Gookin, whose DOS For Dummies launched the For Dummies series back in 1991-and whose knack for demystifying complex topics remains undiminished
Table of Contents:
Part I: Introduction to C Programming.
Chapter 1: Up from the Primordial C.
Chapter 2: C of Sorrow, C of Woe.
Chapter 3: C Straight.9
Chapter 4: C What I/O.
Chapter 5: To C or Not to C.
Chapter 6: C More I/O with gets() and puts().
Part II: Run and Scream from Variables and Math.
Chapter 7: A + B = C.
Chapter 8: Charting Unknown Cs with Variables.
Chapter 9: How to C Numbers.
Chapter 10: Cook That C Variable Charred, Please.
Part III: Giving Your Programs the Ability to Run Amok.
Chapter 11: C More Math and the Sacred Order of Precedence.
Chapter 12: C the Mighty if Command.
Chapter 13: What If C==C?
Chapter 14: Iffy C Logic.
Chapter 15: C You Again.
Chapter 16: C the Loop, C the Loop++.
Chapter 17: C You in a While Loop.
Chapter 18: Do C While You Sleep.
Chapter 19: Switch Case, or, From ‘C’ to Shining ‘c’.
Part IV: C Level.
Chapter 20: Writing That First Function.
Chapter 21: Contending with Variables in Functions.
Chapter 22: Functions That Actually Funct.
Chapter 23: The Stuff That Comes First.
Chapter 24: The printf() Chapter.
Chapter 25: Math Madness!
Chapter 26: The Old Random-Number Function.
Part V: Part of Tens.
Chapter 27: Ten More Things You Need to Know about the C Language.
Chapter 28: Ten Tips for the Budding Programmer.
Chapter 29: Ten Ways to Solve Your Own Programming Problems.
Appendix A: The Stuff You Need to Know before You Read All the Other Stuff in This Book.
Appendix B: ASCII Table.