For courses in C programming.
C By Example is a hands-on C programming book, which provides real-world examples to teach key concepts. The book builds students C programming skills by using easy-to-understand exercises. It also shows how to write programs correctly to produce accurate results. Students will use all the concepts they have learned in a final project to build a working program.
Numerous examples and sample programs demonstrate ways to use the concepts students have just learned. Ex.___
Help guide students through the chapters. Ex.___
Helps students develop a structured (modular) programming technique to isolate problems, write correct problems faster, and produce easy-to-maintain programs. Ex.___
Teaches students the key building blocks of C. Ex.___
Provides students with the concepts to make their C programs more effective. Ex.___
Shows students practical applications for using C. Ex.___
I. WELCOME TO C.1. What C Is All About.
II. C OPERATORS.7. Operators and Precedence.
III. CONTROLLING YOUR PROGRAM'S EXECUTION.10. The while Loop.
IV. VARIABLE SCOPE AND STRUCTURING CODE.13. Introduction to C Functions.
V. STANDARD INPUT, OUTPUT, AND INTRINSIC FUNCTIONS.17. Device and Character 1/0.
VI. BUILDING BLOCKS.19. Working with Arrays.
VII. ADVANCED C.22. Introduction to Structures.
C By Example makes programming easy to learn for the beginning programmer. It builds your programming skills by using clear, easy-to-understand exercises. Hands-on, real world examples show you how to write programs that flow correctly and produce accurate results. At the end of the book, you will use the concepts you have learned to build a blackjack game. Also included is an appendix that discusses where to find compilers, other C resources, where to go from here, and what kinds of careers you could go into with the knowledge she gained from the book.
Greg Perry is a bestselling author and co-designer of the by Example series. He has written more than 50 computer books, many of which are bestsellers. He has been a programmer, trainer, and speaker for the past 20 years. Previously, Greg taught advanced programming courses at Tulsa Community College. He currently lectures at programming conferences across the country and is fluent in 9 computer languages. Among his bestselling books are Sams Teach Yourself Beginning Programming in 24 Hours, C by Example, Sams Teach Yourself Visual Basic 6 in 21 Days, and Sams Teach Yourself Windows 98 in 24 Hours.