Join Books.org — it's free

C/C++
Practical C Programming, Third Edition by Steve Oualline β€” book cover

Practical C Programming, Third Edition

by Steve Oualline
Available on Bookshop Write a review

Books.org participates in affiliate programs including Bookshop.org and the Amazon Services LLC Associates Program. We may earn a commission from qualifying purchases made through links on this page, at no additional cost to you.

Log in to track your reading progress.

Overview

There are lots of introductory C books, but this is the first one that has the no-nonsense, practical approach that has made Nutshell Handbooks(R) famous.

C programming is more than just getting the syntax right. Style and debugging also play a tremendous part in creating programs that run well and are easy to maintain. This book teaches you not only the mechanics of programming, but also describes how to create programs that are easy to read, debug, and update.

Practical rules are stressed. For example, there are fifteen precedence rules in C (&& comes before || comes before ?:). The practical programmer reduces these to two:

  • Multiplication and division come before addition and subtraction.
  • Put parentheses around everything else.

Contrary to popular belief, most programmers do not spend most of their time creating code. Most of their time is spent modifying someone else's code. This books shows you how to avoid the all-too-common obfuscated uses of C (and also to recognize these uses when you encounter them in existing programs) and thereby to leave code that the programmer responsible for maintenance does not have to struggle with. Electronic Archaeology, the art of going through someone else's code, is described.

This third edition introduces popular Integrated Development Environments on Windows systems, as well as UNIX programming utilities, and features a large statistics-generating program to pull together the concepts and features in the language.


This practical C tutorial has been updated and revised, and still focuses on the practical issues of clear and non-obfuscated code. It introduces and incorporates Integrated Development Environments (IDEs) for UNIX and Windows platforms, and leads you through the nuts & bolts of C and practical program writing concepts. The book examines declarations, expressions, arrays, decision and control statements, and guides you through the programming process, from setup and specification through coding, testing, debugging, revision and maintenance. You will also learn about functions and bit operations, types, pointers, file I/O and floating point operations. Additional coverage includes preprocessor directives, modular programming concepts, portability issues, and even recently implemented compiler changes in the areas of functions and libraries. The book really digs into C`s "dustier corners", primarily problems and solutions for do/while, goto, other operators and qualifiers. It relates your program to software engineering concepts, showing how to put it all together, from requirements and specification, to a functional description, expandability, final test and revision.

Synopsis

This new edition of "Practical C Programming" teaches users not only the mechanics or programming, but also how to create programs that are easy to read, maintain, and debug. It features more extensive examples and an introduction to graphical development environments. Programs conform to ANSI C.

About the Author, Steve Oualline

Steve Oualline lives in Southern California, where he works as a software engineer for a major phone company. In his free time he is a real engineer on the Poway Midland Railroad. Steve has written almost a dozen books on programming and Linux software. His web site is http://www.oualline.com .

Reviews

There are no reviews yet. Log in to write one.

Editorials

From Barnes & Noble


Fatbrain Review

This practical C tutorial has been updated and revised, and still focuses on the practical issues of clear and non-obfuscated code. It introduces and incorporates Integrated Development Environments (IDEs) for UNIX and Windows platforms, and leads you through the nuts & bolts of C and practical program writing concepts. The book examines declarations, expressions, arrays, decision and control statements, and guides you through the programming process, from setup and specification through coding, testing, debugging, revision and maintenance. You will also learn about functions and bit operations, types, pointers, file I/O and floating point operations. Additional coverage includes preprocessor directives, modular programming concepts, portability issues, and even recently implemented compiler changes in the areas of functions and libraries. The book really digs into C`s "dustier corners", primarily problems and solutions for do/while, goto, other operators and qualifiers. It relates your program to software engineering concepts, showing how to put it all together, from requirements and specification, to a functional description, expandability, final test and revision.

Book Details

Published
August 1, 1997
Publisher
O'Reilly Media, Incorporated
Pages
456
Format
Paperback
ISBN
9781565923065

More by Steve Oualline

Similar books