C Programming For Dummies

2. Auflage Dezember 2020
464 Seiten, Softcover
Wiley & Sons Ltd
Get an A grade in C
As with any major language, mastery of C can take you to some very interesting new places. Almost 50 years after it first appeared, it's still the world's most popular programming language and is used as the basis of global industry's core systems, including operating systems, high-performance graphics applications, and microcontrollers. This means that fluent C users are in big demand at the sharp end in cutting-edge industries--such as gaming, app development, telecommunications, engineering, and even animation--to translate innovative ideas into a smoothly functioning reality.
To help you get to where you want to go with C, this 2nd edition of C Programming For Dummies covers everything you need to begin writing programs, guiding you logically through the development cycle: from initial design and testing to deployment and live iteration. By the end you'll be au fait with the do's and don'ts of good clean writing and easily able to produce the basic--and not-so-basic--building blocks of an elegant and efficient source code.
* Write and compile source code
* Link code to create the executable program
* Debug and optimize your code
* Avoid common mistakes
Whatever your destination: tech industry, start-up, or just developing for pleasure at home, this easy-to-follow, informative, and entertaining guide to the C programming language is the fastest and friendliest way to get there!
Part 1: The ABs of C 7
Chapter 1: A Quick Start for the Impatient 9
Chapter 2: The Programming Thing 21
Chapter 3: Anatomy of C 29
Part 2: C Programming 101 43
Chapter 4: Trials and Errors 45
Chapter 5: Values and Simple Math 57
Chapter 6: A Place to Put Stuff 67
Chapter 7: Input and Output 83
Chapter 8: Decision Making 97
Chapter 9: Loops, Loops, Loops 115
Chapter 10: Fun with Functions 133
Part 3: Build Upon What You Know 151
Chapter 11: The Unavoidable Math Chapter 153
Chapter 12: Give Me Arrays 173
Chapter 13: Fun with Text 193
Chapter 14: Structures, the Multivariable 211
Chapter 15: Life at the Command Prompt 221
Chapter 16: Variable Nonsense 233
Chapter 17: Binary Mania 249
Part 4: The Advanced Part 267
Chapter 18: Introduction to Pointers 269
Chapter 19: Deep into Pointer Land 285
Chapter 20: Memory Chunks and Linked Lists 305
Chapter 21: It's About Time 329
Part 5: And the Rest of It 337
Chapter 22: Permanent Storage Functions 339
Chapter 23: File Management 359
Chapter 24: Beyond Mere Mortal Projects 369
Chapter 25: Out, Bugs! 381
Part 6: The Part of Tens 393
Chapter 26: Ten Common Boo-Boos 395
Chapter 27: Ten Reminders and Suggestions 403
Part 7: Appendices 411
Appendix A: ASCII Codes 413
Appendix B: Keywords 419
Appendix C: Operators 421
Appendix D: Data Types 423
Appendix E: Escape Sequences 425
Appendix F: Conversion Characters 427
Appendix G: Order of Precedence 429
Index 431