Introduction 1Part 1: The ABs of C 7Chapter 1: A Quick Start for the Impatient 9Chapter 2: The Programming Thing 21Chapter 3: Anatomy of C 29Part 2: C Programming 101 43Chapter 4: Trials and Errors 45Chapter 5: Values and Simple Math 57Chapter 6: A Place to Put Stuff 67Chapter 7: Input and Output 83Chapter 8: Decision Making 97Chapter 9: Loops, Loops, Loops 115Chapter 10: Fun with Functions 133Part 3: Build Upon What You Know 151Chapter 11: The Unavoidable Math Chapter 153Chapter 12: Give Me Arrays 173Chapter 13: Fun with Text 193Chapter 14: Structures, the Multivariable 211Chapter 15: Life at the Command Prompt 221Chapter 16: Variable Nonsense 233Chapter 17: Binary Mania 249Part 4: The Advanced Part 267Chapter 18: Introduction to Pointers 269Chapter 19: Deep into Pointer Land 285Chapter 20: Memory Chunks and Linked Lists 305Chapter 21: It's About Time 329Part 5: And the Rest of It 337Chapter 22: Permanent Storage Functions 339Chapter 23: File Management 359Chapter 24: Beyond Mere Mortal Projects 369Chapter 25: Out, Bugs! 381Part 6: The Part of Tens 393Chapter 26: Ten Common Boo-Boos 395Chapter 27: Ten Reminders and Suggestions 403Part 7: Appendices 411Appendix A: ASCII Codes 413Appendix B: Keywords 419Appendix C: Operators 421Appendix D: Data Types 423Appendix E: Escape Sequences 425Appendix F: Conversion Characters 427Appendix G: Order of Precedence 429Index 431
Dan Gookin has been writing about technology for more than 30 years-and wrote the very first For Dummies book in 1991! Since then he's written gizmo- and tech innovation-focused bestseller after bestseller, including Word 2019 For Dummies, Android For Dummies, 2nd Edition, and many more!