C Elements of Style
Published: 1992, M&T Books
Format: pdf, HTML
Though somewhat dated, this online book still contains much useful advice on programming style and organization.
Contents include:
- Style and Program Organization
- File Basics, Comments, and Program Headings
- Variable Names
- Statement Formatting
- Statement Details
- Preprocessor
- Directory Organization and Makefile Style
- User-Friendly Programming
- Rules
C++ In Action: Industrial-Strength Programming Techniques
Published: 2001, Addison Wesley
485 pages Format: HTML
This free online book attempts to provide a comprehensive guide to C++ software engineering for maximum performance, reliability, and maintainability. The reader witnesses the development of a simple parser and a symbolic calculator starting as a simple command-line program, gradually developing into a full-fledged GUI Windows application.
Downloadable code from the sample projects is also available.
C++: A Dialog - Programming with C++ Standard Library
Published: 2002, Prentice-Hall
1000 pages Format: HTML
This is a highly effective tutorial book on standard C++ that requires no prior knowledge of programming.
From the preface:
Is this book for you? If you're a programmer in a language other than C++ and you want to upgrade your skills, then you shouldn't have much difficulty figuring that out for yourself by reading a few pages. But what if you have no previous programming experience? In that case, here's a little quiz that may help you decide:
- Do you want to know how the programs in your computer work inside and how to write some of your own?
- Are you willing to exert yourself mentally to learn a complex technical subject?
- Do you have a sense of humor?
If you've answered yes to these questions and follow through with the effort required, then you will get a lot out of this book.
Optimizing C++
Published: 2000, Prentice-Hall
400 pages Format: HTML
This free online book provides working programmers with a practical, real-world approach to program optimization. It draws on the author's nearly 30 years of experience as a programmer in diverse fields of application, during which he has become increasingly concerned about the amount of effort spent in reinventing optimization techniques rather than applying those already developed.
The C Book
Published: 1991, Addison Wesley
333 pages Format: HTML, pdf
This is the online version of The C Book, second edition. While the print version of this book is no longer in print, its content is still very relevant today for anyone interested in C programming.
Contents include:
- Variables & arithmetic
- Control flow
- Functions
- Arrays & pointers
- Structures
- Preprocessor
- Specialized areas
- Libraries
- Complete Programs
- Answers