وبلاگ بلیان

C++ فشرده: مرجع و راهنمای سبک مختصر ANSI/ISO

C++ distilled : a concise ANSI/ISO reference and style guide

معرفی کتاب «C++ فشرده: مرجع و راهنمای سبک مختصر ANSI/ISO» (با عنوان لاتین C++ distilled : a concise ANSI/ISO reference and style guide) نوشتهٔ Ira Pohl، منتشرشده توسط نشر Addison-Wesley Professional در سال 1996. این کتاب در 700 صفحه، فرمت djvu، زبان انگلیسی ارائه شده است.

A concise road map and style guide to C++ that selectively previews the proposed ANSI standard C++ language. Covers important new features of the language such as STL, namespaces, RTTI, and the bool type. Includes many programming tips and provides code for all example programs covered in the book. Paper. DLC: C++ (Comp program lang)

In C++ Distilled, veteran educator and programmer Ira Pohl condenses 700 pages of proposed ANSI standard into a concise road map to C++. Selecting the most important and commonly used language elements, Pohl provides syntax, semantics, and examples, as well as style tips that he has distilled from over two decades of programming experience. C++ Distilled is a quick and handy reference to the most recent additions to the language, many of which have yet to be covered in any other book on C++.

Features
  • Covers the important new features of the language such as STL, namespaces, RTTI, and the bool type.
  • Special STL section offers reference and example items for this powerful new library, including a description of the string library.
  • Distills Pohl's extensive experience into effective programming tips.
  • Allows programmers to quickly review syntax and semantics they may not have recently used.
  • Provides code for all example programs covered in the book, as well as adjunct programs that illustrate points made in the book.


0201695871B04062001

Doug Nickerson

Succinct C++

Writing software can be like trying to hit a moving target. Although we hope the programming languages we use are more stable than the software we write, many forces are at work to turn even this terra firma into quicksand for programmers -- and computer book authors.

Sometimes features are added to a language by compiler vendors -- witness the extensions being added to Java by Microsoft (for the good of programmers everywhere). And a language standardization process itself adds its own share of changes, at least until a standard is final.

C++ Distilled, by Ira Pohl, presents the new C++ Standard (Draft) in 202 pages. It is a reference with some added tips on style and usage. The tips are at the end of sections and chapters -- called Dr. P's Prescriptions. They are brief, and noncontroversial. A short section gives the rationale for each of the recommendations. There is nothing off-the-wall here, and Pohl uses short code examples to illustrate points (more complete examples are available on line).

Since this book was published in 1997, I made a comparison with Chuck Allison's article, What's New in Standard C++? [C/C++ Users Journal, Dec. 1998]. This revealed that most of the new and changed features are covered. Some of the main topics included are: types, casts old and new, functions, classes, inheritance, RTTI, templates, exceptions, and I/Os. An STL reference is at the end. STL is a weak area of mine, and there's enough real information here to get you going.

The information of namespaces covers the std namespace, but I could find no comprehensive list of standard C++ headers. The new C++ Standard deprecates the .h for standard header file names (using #include <iostream> instead of #include <iostream.h>, for example). Most of the book uses this new approach, but the I/O chapter reverts to #include <iostream.h>. I suppose this is to avoid including the std statement in each example. For an interesting account of the travails of C++ authors trying to keep their books current (and a diatribe on the namespace issue), see Al Steven's column in Dr. Dobb's Journal [September 1997].

The C++ Standard isn't the only thing distilled in this book. The prose has been distilled too. One succinct passage is when Pohl summarizes the debate surrounding the goto statement: The goto statement is considered a harmful construct in most accounts of modern programming methodology.

This passage is one of the few homages to political correctness in the book. This is not the Annotated Reference Manual (ARM), which by design examines every syntax peculiarity and semantic double entendre. This is a reference that tries to describe the language as it exists, and to focus on features that are used every day.

Nor is this book obsessed with C++ history, or belaboring the changes between the old and the new -- it represents where the standard is (or was at the time of writing). There are, however, a few helpful references to the old woven into the narrative. For instance, I can never recall if a variable declared inside the expression at the top of a for loop is accessible after the closing brace of the loop. Pohl clears that up. (It once was, but now is not.)

Now that C++ has been restored to terra firma, you may need a book to bring you up to speed. This book is not a substitute for a language tutorial (and is not intended to be). I think it covers what's new in the language, but if you're concerned about the word Draft in the title, browse before you buy.--Dr. Dobb's Electronic Review of Computer Books

Distills over 700 pages of ANSI standard into a concise road map to the key syntax and semantics of C++. Along the way Professor Pohl provides programming and style tips based on many years of professional practice.
دانلود کتاب C++ فشرده: مرجع و راهنمای سبک مختصر ANSI/ISO