Synopses & Reviews
6 books in 1 plus sample code on our companion Web site
From basics to advanced techniques, heres your key to C programming!
No need to sing the blues every important note about C programming is in this handy desk reference! From keywords, functions, and operators to strings and random access files, one of these six minibooks has it covered. And, youll find that this book remains a handy reference long after youve become a virtuoso in C.
The Dummies Way
- Coverage of the essentials and beyond
- Explanations in plain English
- "Get in, get out" information
- Thumbtabs and other navigation aids
- Tear-out cheat sheet
- A dash of humor and fun
Discover how to:
- Understand the C skeleton and source code
- Use conditional statements, constants and variables, strings, arrays, and functions
- Debug your code
- Program games and graphics
- Develop programs in Windows® and Linux®
Everything you need to know to get up to speed with programming in C, including advanced topics to take your programming skill to the next level.
- Covers everything users need to get up to speed on C programming, including advanced topics to take their programming skill to the next level
- Walks C programmers through the entire development cycle of a C program-designing and developing the program, writing source code, compiling the code, linking the code to create the executable programs, debugging, and deployment
- Provides thorough coverage of keywords, program flow, conditional statements, constants and variables, numeric values, arrays, strings, functions, pointers, debugging, prototyping, and much more
- Addresses some advanced programming topics such as graphics and game programming as well as Windows and Linux programming
- Includes dozens of sample programs that readers can adapt and modify for their own uses
- Written by the author of the first-ever For Dummies book-a man known for his ability to take complex material and present it in a way that makes it simple and fun
* Written by the author of the first-ever For Dummies book-a man known for his ability to take complex material and present it in a way that makes it simple and fun
About the Author
has been writing about technology for 20 years. He has contributed articles to numerous high-tech magazines and written more than 90 books about personal computing technology, many of them accurate.
He combines his love of writing with his interest in technology to create books that are informative and entertaining, but not boring. Having sold more than 14 million titles translated into more than 30 languages, Dan can attest that his method of crafting computer tomes does seem to work.
Perhaps Dan’s most famous title is the original DOS For Dummies, published in 1991. It became the world’s fastest-selling computer book, at one time moving more copies per week than the New York Times number-one best seller (although, because it’s a reference book, it could not be listed on the NYT best seller list). That book spawned the entire line of For Dummies books, which remains a publishing phenomenon to this day.
Dan’s most recent titles include PCs For Dummies, 9th Edition; Buying a Computer For Dummies, 2005 Edition; Troubleshooting Your PC For Dummies; Dan Gookin’s Naked Windows XP; and Dan Gookin’s Naked Office. He publishes a free weekly computer newsletter, “Weekly Wambooli Salad,” and also maintains the vast and helpful Web site www.wambooli.com.
Table of Contents
Book I: Hello, C.
Chapter 1: Your Basic C Program.
Chapter 2: How It All Works.
Chapter 3: More Basics, Comments, and Errors.
Chapter 4: Introducing Numbers and Variables.
Chapter 5: More Variables and Basic I/O.
Chapter 6: Decision Time.
Chapter 7: Looping.
Chapter 8: Using Constants.
Chapter 9: Mysterious Math.
Chapter 10: It’s Only Logical.
Book II: Middle C.
Chapter 1: Variables from Beyond Infinity.
Chapter 2: The Madness of Printf( ).
Chapter 3: Maniacal Math Functions.
Chapter 4: Not Truly Random.
Chapter 5: While Going Loopy.
Chapter 6: More Decision Making.
Chapter 7: The Goto Chapter.
Book III: Above C Level.
Chapter 1: Asking for Arrays.
Chapter 2: I Sing of Strings.
Chapter 3: Messing with Characters.
Chapter 4: Stinkin’ Structures.
Chapter 5: Creating Your Own Functions.
Chapter 6: Quitting Before You’re Done.
Chapter 7: More Variable Nonsense.
Book IV: Advanced C.
Chapter 1: Introduction to Evil Pointers.
Chapter 2: Getting to the *Point.
Chapter 3: Binary Bits.
Chapter 4: The Myth of the Array.
Chapter 5: Pointers and Strings.
Chapter 6: Crazy Arrays of Pointers.
Chapter 7: Functions and Pointers.
Chapter 8: Structures, Pointers, and the Malloc Deity.
Chapter 9: Does Anyone Have the Time?
Chapter 10: Building Big Programs.
Chapter 11: Help!
Book V: Disk Drive C.
Chapter 1: Just Your Standard I/O.
Chapter 2: Interacting with the Command Line.
Chapter 3: Hello, Disk!
Chapter 4: More Formal File Writing and Reading.
Chapter 5: Random Access Files.
Chapter 6: Folder Folderol.
Chapter 7: Under New File Management.
Book VI: The Joy of Linked Lists.
Chapter 1: Why Linked Lists?
Chapter 2: Dawn of the Database.
Chapter 3: Storing a Linked List on Disk.
Chapter 4: The Nightmare of the Double-Linked List.
Book VII: Appendixes.
Appendix A: The Stuff You Need to Know before Reading Everything Else in This Book.
Appendix B: ASCII Table.
Appendix C: Answers to Exercises.
Appendix D: C Language Keywords and Operators.
Appendix E: C Language Variable Types.
Appendix F: Escape Sequences.
Appendix G: Conversion Characters.