C Primer Plus

C Primer Plus

by Stephen Prata
C Primer Plus

C Primer Plus

by Stephen Prata

eBook

$39.99  $52.99 Save 25% Current price is $39.99, Original price is $52.99. You Save 25%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

This is the eBook version of the printed book.

The new classic! C Primer Plus, now in its 5th edition, has been revised to include over 20 new programming exercises, newly improved examples and the new ANSI/ISO standard, C99. Task-oriented examples will teach you the fundamentals of C programming. From extended integer types and compound literals to Boolean support and variable-length arrays, you will learn to create practical and real-world applications with C programming. Review questions and programming exercises at the end of each chapter will reinforce what you have learned. This friendly and easy-to-use self-study guide will help you understand the fundamentals of this core programming language.


Product Details

ISBN-13: 9780132713603
Publisher: Pearson Education
Publication date: 11/23/2004
Series: Primer Plus
Sold by: Barnes & Noble
Format: eBook
Pages: 984
File size: 13 MB
Note: This product may take a few minutes to download.

About the Author

Stephen Prata teaches astronomy, physics, and programming at the College of Marin in Kentfield, California. He received his B.S. from the California Institute of Technology and his Ph.D. from the University of California, Berkeley. His association with computers began with the computer modeling of star clusters. Stephen has authored or coauthored over a dozen books, including C++ Primer Plus and Unix Primer Plus.

Read an Excerpt

C Primer PlusC Primer PlusPreface

C was a relatively little-known language when the first edition of C Primer Plus was written in 1984. Since then, the language has boomed, and many people have learned C with the help of this book. In fact, over 500,000 people have purchased C Primer Plus throughout its various editions.

As the language has grown from the early informal K&R standard through the 1990 ISO/ANSI standard to the 1999 ISO/ANSI standard, so has this book matured through this, the fifth edition. As with all the editions, my aim has been to create an introduction to C that is instructive, clear, and helpful.

Approach and Goals

My goal is for this book to serve as a friendly, easy-to-use, self-study guide. To accomplish that objective, C Primer Plus employs the following strategies:

  • Programming concepts are explained, along with details of the C language; the book does not assume that you are a professional programmer.

  • Many short, easily typed examples illustrate just one or two concepts at a time, because learning by doing is one of the most effective ways to master new information.

  • Figures and illustrations clarify concepts that are difficult to grasp in words alone.

  • Highlight boxes summarize the main features of C for easy reference and review.

  • Review questions and programming exercises at the end of each chapter allow you to test and improve your understanding of C.

To gain the greatest benefit, you should take as active a role as possible in studying the topics in this book. Don't just read the examples, enter them into your system, and try them. C is a very portable language, but you may find differences between how a program works on your system and how it works on ours. Experiment—change part of a program to see what the effect is. Modify a program to do something slightly different. Ignore the occasional warnings and see what happens when you do the wrong thing. Try the questions and exercises. The more you do yourself, the more you will learn and remember.

I hope that you'll find this newest edition an enjoyable and effective introduction to the C language.

© Copyright Pearson Education. All rights reserved.

Table of Contents

1. Getting Ready.

2. Introducing C.

3. Data and C.

4. Character Strings and Formatted Input/Output.

5. Operators, Expressions, and Statements.

6. C Control Statements: Looping.

7. C Control Statements: Branching and Jumps.

8. Character Input/Output and Input Validation.

9. Functions.

10. Arrays and Pointers.

11. Character Strings and String Functions.

12. Storage Classes, Linkage, and Memory Management.

13. File Input/Output.

14. Structures and Other Data Forms.

15. Bit Fiddling.

16. The C Preprocessor and the C Library.

17. Advanced Data Representation.

Appendix A. Answers to the Review Questions.

Appendix B. Reference Section.

Preface

C Primer Plus

C Primer Plus

Preface

C was a relatively little-known language when the first edition of C Primer Plus was written in 1984. Since then, the language has boomed, and many people have learned C with the help of this book. In fact, over 500,000 people have purchased C Primer Plus throughout its various editions.

As the language has grown from the early informal K&R standard through the 1990 ISO/ANSI standard to the 1999 ISO/ANSI standard, so has this book matured through this, the fifth edition. As with all the editions, my aim has been to create an introduction to C that is instructive, clear, and helpful.

Approach and Goals

My goal is for this book to serve as a friendly, easy-to-use, self-study guide. To accomplish that objective, C Primer Plus employs the following strategies:

  • Programming concepts are explained, along with details of the C language; the book does not assume that you are a professional programmer.

  • Many short, easily typed examples illustrate just one or two concepts at a time, because learning by doing is one of the most effective ways to master new information.

  • Figures and illustrations clarify concepts that are difficult to grasp in words alone.

  • Highlight boxes summarize the main features of C for easy reference and review.

  • Review questions and programming exercises at the end of each chapter allow you to test and improve your understanding of C.

To gain the greatest benefit, you should take as active a role as possible in studying the topics in this book. Don't just read the examples, enter them into your system, and try them. C is a very portable language, but you may find differences between how a program works on your system and how it works on ours. Experiment—change part of a program to see what the effect is. Modify a program to do something slightly different. Ignore the occasional warnings and see what happens when you do the wrong thing. Try the questions and exercises. The more you do yourself, the more you will learn and remember.

I hope that you'll find this newest edition an enjoyable and effective introduction to the C language.

© Copyright Pearson Education. All rights reserved.

From the B&N Reads Blog

Customer Reviews