Description
PEARSON INDIA C Programming Absolute Beginners Guide by Perry
C Programming Absolute Beginners Guide is the fastest way to get comfortable and productive with C11. This friendly, practical book will help the reader do exactly what they want, one incredibly clear and easy step at a time. World-renowned tech tutorial author Greg Perry reveals C11s power, and helps the reader quickly take advantage of it. He provides step-by-step instructions for every task requiring more than one step, many code samples, and screenshots guiding through complex processes. This guide including how to organize a program, store and display data, and work with variables, operators, I/O, pointers, arrays, and functions. Perry presents updated information on the latest C compilers for Windows, OS X, and Linux, as well as valuable new material on C programming for mobile and game development.
Contents
Part I: Jumping Right in
1 What Is C Programming, and Why Should I Care?
2 Writing Your First C Program
3 What Does This Do? Clarifying Your Code with Comments
4 Your World Premiere—Putting Your Programs Results
5 Adding Variables to Your Programs
6 Adding Words to Your Programs
7 Making Your Programs More Powerful with #include and #define
8 Interacting with Users
Part II: Putting C to Work For You
9 Crunching the Numbers—Letting C Handle Math for You
10 Powering Up Your Variables with Assignments and Expressions
11 The Fork in the Road—Testing Data to Pick a Path
12 Juggling Several Choices with Logical Operators
13 A Bigger Bag of Tricks-Some More Operators for Your Programs
Part III: Fleshing Out Your Programs
14 Code Repeat—Using Loops to Save Time and Effort
15 Looking for Another Way to Create Loops
16 Breaking in and out of Looped Code
17 Making the case for the switch Statement
18 Increasing Your Programs Output (and Input)
19 Getting More from Your Strings
20 Advanced Math (for the Computer, Not You!) .
Part IV: Managing Data With Your C Programs
21 Dealing with Arrays
22 Searching Arrays
23 Alphabetizing and Arranging Your Data
24 Solving the Mystery of Pointers
25 Arrays and Pointers
26 Maximizing Your Computers Memory
27 Setting Up Your Data with Structures
Part V: Files and Functions
28 Saving Sequential Files to Your Computer
29 Saving Random Files to Your Computer
30 Organizing Your Programs with Functions
31 Passing Variables to Your Functions
32 Returning Data from Your Functions
Appendixes
A The ASCII Table
B The Draw Poker Program
About the Author: Adam Gray
Greg Perry is a computer trainer who is renowned for his ability to explain complex computer topics to novices. Considered one of the best tutorial writers in the industry, he is the author or co-author of more than 60 books on topics ranging from operating systems to desktop applications to entry-level programming. His books have sold more than two million copies worldwide.