C by Example

Series
Que
Author
Greg Perry  
Publisher
QUE Publishing
Cover
Softcover
Edition
1
Language
English
Total pages
528
Pub.-date
December 1999
ISBN13
9780789722393
ISBN
0789722399
Related Titles


Product detail

Title no longer available

Description

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.

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.___

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 Cover

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.

Author

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.