PTG home
Catalog Search:
Search
Related Topics:
COMPUTING
Programming Languages
C




Online Supplement

 
C by Example 1/e

Greg Perry

Published December 1999 by Que/Sams
Copyright 1999, 528 pp., Paper
ISBN: 0-7897-2239-9
List Price:
$24.99

Inventory Status:
In-Stock
   
Online Supplement


Summary

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.

Features

  • By example approach within each chapter
    • Numerous examples and sample programs demonstrate ways to use the concepts students have just learned. Ex.___

  • Student-friendly pedagogical tools—Include Tips, Notes, Cautions, Cross-References and Chapter Summaries.
    • Help guide students through the chapters. Ex.___

  • Structured programming techniques
    • Helps students develop a structured (modular) programming technique to isolate problems, write correct problems faster, and produce easy-to-maintain programs. Ex.___

  • Master arrays, pointer storage, and using pointers.
    • Teaches students the key building blocks of C. Ex.___

  • Understand C operations and precedence to maximize program effectiveness.
    • Provides students with the concepts to make their C programs more effective. Ex.___

  • Use C for personal finance, record keeping, and other needs.
    • Shows students practical applications for using C. Ex.___



Author Bio

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.

Table of Contents



Introduction.

I. WELCOME TO C.

 1. What C Is All About.

 2. Analyzing C Programs.

 3. Variables and Constants.

 4. Introduction to Arrays.

 5. Preprocessor Directives.

 6. Input and Output.

II. C OPERATORS.

 7. Operators and Precedence.

 8. Relational and Logical Operators.

 9. Remaining C Operators.

III. CONTROLLING YOUR PROGRAM'S EXECUTION.

10. The while Loop.

11. The for Loop.

12. Controlling Flow.

IV. VARIABLE SCOPE AND STRUCTURING CODE.

13. Introduction to C Functions.

14. Variable Scope and Structuring Code.

15. Passing Values Between Functions.

16. Returning Function Values.

V. STANDARD INPUT, OUTPUT, AND INTRINSIC FUNCTIONS.

17. Device and Character 1/0.

18. String and Numeric Functions.

VI. BUILDING BLOCKS.

19. Working with Arrays.

20. Pointer Storage.

21. Using Pointers.

VII. ADVANCED C.

22. Introduction to Structures.

23. Arrays of Structures.

24. Simple C File Processing.

25. Putting It All Together.




back to top