Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
68 used & new from $21.94

Have one to sell? Sell yours here
 
   
A Book on C: Programming in C (4th Edition)
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

A Book on C: Programming in C (4th Edition) (Paperback)

by Al Kelley (Author), Ira Pohl (Author) "Zero is the natural starting point in the C programming language..." (more)
Key Phrases: The Output Function, Laura Pohl, Alan Turing (more...)
4.3 out of 5 stars See all reviews (55 customer reviews)

List Price: $69.99
Price: $55.75 & this item ships for FREE with Super Saver Shipping. Details
You Save: $14.24 (20%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 1 left in stock--order soon (more on the way).

Want it delivered Monday, July 20? Choose One-Day Shipping at checkout. Details
30 new from $34.00 38 used from $21.94
Also Available in: List Price: Our Price: Other Offers:
Paperback (3rd) 26 used & new from $0.77

Frequently Bought Together

Customers buy this book with Linear Circuit Analysis: Time Domain, Phasor, and Laplace Transform Approaches (The Oxford Series in Electrical and Computer Engineering) by Raymond A. DeCarlo

A Book on C: Programming in C (4th Edition) + Linear Circuit Analysis: Time Domain, Phasor, and Laplace Transform Approaches (The Oxford Series in Electrical and Computer Engineering)
Price For Both: $167.75

One of these items ships sooner than the other. Show details


Customers Who Bought This Item Also Bought

C Programming Language (2nd Edition) (Prentice Hall Software)

C Programming Language (2nd Edition) (Prentice Hall Software)

by Brian W. Kernighan
4.7 out of 5 stars (271)  $45.81
C++ Primer Plus (5th Edition)

C++ Primer Plus (5th Edition)

by Stephen Prata
4.7 out of 5 stars (65)  $37.79
The Standard C Library

The Standard C Library

by P.J. Plauger
4.6 out of 5 stars (13)  $63.18
The C Puzzle Book

The C Puzzle Book

by Alan R. Feuer
4.6 out of 5 stars (12)  $16.49
The C++ Programming Language: Special Edition (3rd Edition)

The C++ Programming Language: Special Edition (3rd Edition)

by Bjarne Stroustrup
4.2 out of 5 stars (284)  $67.99
Explore similar items

Editorial Reviews

Product Description
Now in its fourth edition, A Book on C retains the features that have made it a proven, best-selling tutorial and reference on the ANSI C programming language. This edition builds on the many existing strengths of the text to improve, update, and extend the coverage of C, and now includes information on transitioning to Java and C++ from C. Beginners and professional programmers alike will benefit from the numerous examples and extensive exercises developed to guide readers through each concept. Step-by-step dissections of program code illuminate the correct usage and syntax of C language constructs and reveal the underlying logic of their application. The clarity of exposition and format of the book make it an excellent reference on all aspects of C.

Highlights of A Book on C, Fourth Edition : New and updated programming examples and dissections-the authors' trademark technique for illustrating and teaching language concepts. Recursion is emphasized with revised coverage in both the text and exercises. Multifile programming is given greater attention, as are the issues of correctness and type safety. Function prototypes are now used throughout the text. Abstract Data Types, the key concept necessary to understanding objects, are carefully covered. Updated material on transitioning to C++, including coverage of the important concepts of object-oriented programming. New coverage is provided on transitioning from C to Java. References to key programming functions and C features are provided in convenient tables.

From the Inside Flap

A Book on C conveys an appreciation for both the elegant simplicity and the power of this general-purpose programming language. By presenting interactive running programs from many application areas, this book describes the ANSI version of the C language. The complete language is presented in a step-by-step manner, along with many complete working programs.

Where appropriate, we discuss the differences between traditional C and ANSI C. (Traditional C still remains in wide use.) Dozens of example programs are available to illustrate each important language feature, and many tables summarize key information and provide easy access for later reference. Each chapter ends with a summary and exercises. The summary reviews key elements presented in the chapter, and the exercises augment and extend the text.

This book assumes a general-purpose knowledge of the C language. It is intended for use in either a first or second programming course. However, it can be readily used in conjunction with courses on topics such as comparative programming languages, computational linguistics, data structures, database systems, fractal geometry, graphics, numerical analysis, operating systems, programming methodology, and scientific applications. C is suitable for applications from each of these domains, and all features of C needed to code such applications are explained. This book is appropriate for a data structures course because advanced data structuring features such as enumeration types, unions, self-referential structures, and ragged arrays are discussed. For operating systems courses concerned with UNIX or Windows 95/NT, the book explores the file structure and systems routines that enable the C programmer to add to existing systems libraries and understand the C code underlying the operating system. For applications programming and scientific programming, there is discussion of how to write sample function libraries. Statistics, root finding, sorting, text manipulation, file handling, and game playing are all represented with working code.

New Java Section. In Chapter 14, "Moving from C to Java," we discuss how the C programmer can very naturally and easily begin programming in Java, a language of interest for work on the Internet. The Java programming language borrows ideas from both C and C++ and is designed to run in a machine- and system-independent manner. This makes it suitable for Internet work, such as writing applets for Web pages that get used by browsers. Because Java is an extension of C and C++, it is readily learned by the C programmer.

Complete ANSI C Language. Computer professionals will have access to a complete treatment of the language, including enumeration types, list processing, and the operating system interface. Chapter 1, "An Overview of C," presents an overview of the language. After reading this chapter, the professional will already be able to write C code. Since the chapters are self-contained, the knowledgeable reader can skip to particular sections as needed. Chapter 11, "Input/Output and the Operating System," gives a thorough introduction to the connections to the operating system. This information will benefit the professional systems programmer needing to use C to work within an MS-DOS or UNIX environment.

Interactive Environment. This book is written entirely with the modern interactive environment in mind. Experimentation is encouraged throughout. Keyboard and screen input/output is taken as the norm, and its attendant concerns are explained. Thus, the book is appropriate for users of small home and business computers as well as to users of large interactive systems. We assume that the reader will have access to an interactive ANSI C system. During the writing of this book, we used a number of different C systems: various Borland and Microsoft compilers running on IBM-compatible Pentium machines, the GNU gcc compiler and native compilers running on various workstations from DEC, SGI, and Sun, and the C compiler that runs on the Cray supercomputer in San Diego.

Working Code. Our approach to describing the language is to use examples, explanation, and syntax. Working code is employed throughout. Small but useful examples are provided to describe important technical points. Small because small is comprehensible. Useful because programming is based on a hierarchy of building blocks and ultimately is pragmatic. The programs and functions described in the book can be used in actual systems. The authors' philosophy is that one should experiment and enjoy.

Dissections. We use highlighted "dissections" on many programs and functions throughout the book. Dissection is a unique pedagogical tool first developed by the authors in 1984 to illuminate key features of working code. A dissection is similar to a structured walk-through of the code. Its intention is to explain to the reader newly encountered programming elements and idioms found in working code.

Flexible Organization. This book is constructed to be very flexible in its use. Chapter 1, "An Overview of C," is in two parts. The first part explains the crucial programming techniques needed for interactive input/output, material that must be understood by all. The second part of Chapter 1 goes on to survey the entire language and will be comprehensible to experienced programmers familiar with comparable features from other languages. This second part can be postponed in a first programming course. Caution: Beginning programmers should postpone the second part of Chapter 1.

Chapter 2, "Lexical Elements, Operators, and the C System," describes the lexical level of the language and syntactic rules, which are selectively employed to illustrate C language constructs. The instructor may decide to teach Backus-Naur-Form (BNF) notation as described in Chapter 2 or may omit it without any loss of continuity. The book uses BNF style syntactic descriptions so that the student can learn this standard form of programming language description. In addition, language components are thoroughly described by example and ordinary explanation.

Reference Work. This book is designed to be a valuable reference to the C language. Throughout the book, many tables concisely illustrate key areas of the language. The complete ANSI C standard library, along with its associated header files, is described in the Appendix A, "The Standard Library." Sections in the appendix are devoted to explaining each of the standard header files such as ctype.h, stdio.h, and string.h. Where appropriate, example code is given to illustrate the use of a particular construct or function.

In Appendix B, "Language Syntax," we provide the complete syntax of the C language. In Appendix C, "ANSI C Compared to Traditional C," we list the major differences between ANSI C and traditional C. Finally, special care has been taken to make the index easy to use and suitable for a reference work.

The Complete ANSI C Language. Chapters 3 through 10 cover the C language feature by feature. Many advanced topics are discussed that may be omitted on first reading without loss of comprehension, if so desired. For example, enumeration types are relatively new to the language, and their use can be omitted in a first course. Machine-dependent features such as word size considerations and floating-point representation are emphasized, but many of the details need not concern the beginner.

The Preprocessor. Chapter 8, "The Preprocessor," is devoted entirely to the preprocessor, which is used to extend the power and notation of the C language. Macros can be used to generate inline code that takes the place of a function call. Their use can reduce program execution time. The chapter presents a detailed discussion of the preprocessor, including new features added by the ANSI committee. In traditional C, the preprocessor varies considerably from one compiler to another. In ANSI C, the functionality of the preprocessor has been completely specified.

Recursion and List Processing. Chapter 5, "Functions," has a careful discussion of recursion, which is often a mystifying topic for the beginner. The use of recursion is illustrated again in Chapter 8, "The Preprocessor," with the quicksort algorithm and in Chapter 10, "Structures and List Processing," with basic list processing techniques. A thorough knowledge of list processing techniques is necessary in advanced programming and data structure courses.

Operating System Connection. Chapter 11, "Input/Output and the Operating System," makes the operating system connection. In this chapter, we explain how to do file processing and discuss at length the various input/output functions in the standard library. We also explain how to execute a system command from within a C program and how to set file permissions and use of environment variables. We give explicit examples showing the use of the profiler, the librarian, and the make facility.

Advanced Applications. We discuss a number of advanced applications in Chapter 12, "Advanced Applications." We present topics such as creating concurrent processes, overlaying a process, interprocess communication, and sig

See all Editorial Reviews


Product Details

  • Paperback: 726 pages
  • Publisher: Addison-Wesley Professional; 4 edition (January 8, 1998)
  • Language: English
  • ISBN-10: 0201183994
  • ISBN-13: 978-0201183993
  • Product Dimensions: 9.1 x 7.2 x 1.4 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars See all reviews (55 customer reviews)
  • Amazon.com Sales Rank: #254,967 in Books (See Bestsellers in Books)

Inside This Book (learn more)


What Do Customers Ultimately Buy After Viewing This Item?

A Book on C: Programming in C (4th Edition)
84% buy the item featured on this page:
A Book on C: Programming in C (4th Edition) 4.3 out of 5 stars (55)
$55.75
C Programming Language (2nd Edition) (Prentice Hall Software)
7% buy
C Programming Language (2nd Edition) (Prentice Hall Software) 4.7 out of 5 stars (271)
$45.81
The C Puzzle Book
4% buy
The C Puzzle Book 4.6 out of 5 stars (12)
$16.49
C in a Nutshell (In a Nutshell (O'Reilly))
3% buy
C in a Nutshell (In a Nutshell (O'Reilly)) 4.7 out of 5 stars (9)
$26.37

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

55 Reviews
5 star:
 (37)
4 star:
 (7)
3 star:
 (5)
2 star:
 (1)
1 star:
 (5)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (55 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
23 of 25 people found the following review helpful:
5.0 out of 5 stars FANTASTIC!, September 5, 1999
By A Customer
Well, after reading Teach Yourself C in 24 hours and not learning much from the overly useless examples and plain explanations, I decided to a buy another C book to get a more advanced education on the C language. I looked through the reviews of the C books, and decided on this one...

Best choice I ever made.

This book is truly fantastic. Explanations of new concepts and ideas are given lots of detail and thought, programs are explained well with the helpful dissection technique, the order of the chapters is well thought out, etc, etc. I would suggest an easier book on C(Don't get Teach Yourself C in 24 Hours tho), although it isn't required to understand this book because of how well it's written. Overall, this book is incredible, and wouldn't hesitate for a second to recommend it full-heartedly. Althought it isn't perfect (Typos and lack of full examples are the only two problems I can think of) this book comes the closest I've ever seen. It even introduces C++ and Java at the end, a very nice touch.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 13 people found the following review helpful:
5.0 out of 5 stars This is the one, October 13, 1997
By mrsteve@uclink.berkeley.edu (Steve Lane, Berkeley, CA, USA) - See all my reviews
This is the best book I have ever read on C, one of the best textbooks I have ever read, and one of the best books (no exceptions) I have ever read.

I learned C from this book (second edition) in the author's (AK's) computational math class at UC Santa Cruz. I have since looked at many other C books (including K&R, "C By Example", "C for Programmers", and others) and this is hands-down the best. It provides a thorough, accessible and ANSI-compliant introduction to the language, uses many useful (nontrivial) examples from general computer science and computational math (sorting algorithms, matrix math), and I found it fun to read! In particular, I think it provides the most intuitive and useful introduction to pointers and pointer arithmatic anywere. The examples are well integrated into the flow of presentation, and it is well indexed (it is an excellent reference book). One of the reasons I like it so much as an example of good writing is that it serves double duty as a teaching tool and a reference work, and does both successfully.

This is the one!

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 11 people found the following review helpful:
3.0 out of 5 stars This book is totaly up to who you are, April 29, 2001
By C (New York, USA) - See all my reviews
Somebody complained that this book doesn't talk about windows programming. Windows programming is not too much to do with language itself (C/C++), it's more about the compilers (Borland C++ Builder , Visual c++...). This book which was written by college math professors focuses on the language itself, and the best way to do that is using a text based environment (DOS, UNIX compilers). Yes, it is dry and a little too much math oriented, and lack of deep, clear explanation in some important, confusing parts. And, it is not a easy, how to, tutorial book. I am not sure if this book will make you a good, practical C programmer any time soon, but you will have OK understanding on C though (if you survive after those exercises). If you are a true beginner and need a easy-to-follow tutorial book, "Teach yourself C in 21 days" is not too bad to start with. If you know a little bit of C programming ("Teach yourself C in 21 days" will get you there), I have some recommandations for you :

*Pointers on C (the best)
*The C programming language (!!!!!!!!!!!)
*The Standard C Library (must have)
*The C Puzzle Book
*C Traps and Pitfalls
*Expert C Programming

Conclusion : Buy 3 books (if you are kind of new to C but serious),
1. A Book on C
2. Teach yourself C in 21 days
3. Pointers on C
compare them, and return 2 books.
I know that you will keep #3

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

5.0 out of 5 stars Best beginner/indermediate C book
And the ACCU site agrees with me. This is an excellent book on the C programming language. Of course, you will want K&R next and finally C: A Reference Manual for the extensive... Read more
Published 18 months ago by No Web Presence

5.0 out of 5 stars Excellent book on C
Be warned: This book is not for beginners in programming. If you know a bit of another programming langauge such as C++ or Java you should be fine. Read more
Published on April 25, 2006 by Moi

1.0 out of 5 stars There are much better C books around!
I bought this book because it was a set text for my C programming class. I have to add a review, because contrary to most reviews I read on this site, I found this book... Read more
Published on January 6, 2005 by Code Gal

5.0 out of 5 stars Buying my second copy
I got this originally for an advanced class in C when I had already been programming in it for a few years. Read more
Published on February 28, 2004 by Michael Goldman

5.0 out of 5 stars Good book on C
This is an excellent book to learn C programming if you are already familiar with C.

For starters, I suggest that you get C in 21 days and then continue C learning using this... Read more

Published on October 18, 2003 by Mohammad Zahid

5.0 out of 5 stars Makes it as simple as A-B-C
This is a wonderful, concise book on C programming, possibly the best I've encountered. The examples are illustrative with detailed explanations on every piece of the code. Read more
Published on September 4, 2003 by T. Guo

2.0 out of 5 stars A little simple if you know ANY C.
I've always been told just to use K&R to learn C. I thought I needed another book to help out. Unfortunately, this book was a bit too simplistic and did very little to clarify... Read more
Published on May 19, 2002 by Hisashi T. Fujinaka

5.0 out of 5 stars The best book on C
This book is meant for readers who already know some C programming. For those who are absolute beginners, just find some website that gives an introduction to the C language and... Read more
Published on May 9, 2002 by merlioncity

5.0 out of 5 stars Excellent concise book on c
I found this one of the highest rated books on C a couple of years ago, so I bought it. I wanted an introduction to C before moving on to C++. Read more
Published on April 8, 2002 by Tim Laduca

1.0 out of 5 stars The worst C book I have ever read
This is the first time I ever wrote a review. I have to write this because I feel angry after spending $...(Canadian dollar) on this book. Read more
Published on March 23, 2002 by frank

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Cook with the Best Ingredients

Traditional Paella Kit
Fall into cooking or give the gift of great cooking with fresh and innovative ingredients and spices from Amazon Gourmet.

Shop more now

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates