Exceptional C++,book by Herb SutterAimed at the experienced C++ programmer, Herb Sutter’s book Exceptional C++ tests the reader’s knowledge of advanced C++ language features and idioms with several dozen programming puzzles and explanations. This book can definitely help raise your C++ class design skills to the next level.

Based on the author’s Guru of the Week Web column, this ebook poses a series of challenging questions on the inner workings of C++, centering around generic programming with the Standard Template Library (STL), exception handling, memory management, and class design. Even if you think you know C++ well, most of the problems,describing in the book will teach you something more about the language and how to write more robust classes that are “exception safe”.Don’t think this is just “language lawyering,” though.
The author’s explanations stress sound programming principles (favoring simplicity) and idioms (such as the Pimpl idiom for class design that promotes faster compile times and better maintainability, or using “smart” auto_ptrs with STL.) Judging from the range and depth of these examples, Sutter’s command of the inner workings of C++ is impressive, and he does an excellent job of conveying this expertise without jargon or a lot of theory. After reading this book, C++ designers will learn several “best practices” of how to write robust, efficient classes that are “exception safe.” Chances are you’ll gain a better understanding of memory management techniques and working with STL too. For the experienced developer seeking leading-edge knowledge of some of the best ways to use C++, ebook Exceptional C++ is both a challenging and truly worthwhile source of information.

Topics covered by book:

  • advanced C++ programming tutorial
  • generic programming
  • book contains tips for string classes
  • containers and STL
  • ebook describes virtual functions
  • class inheritance
  • the Pimpl idiom
  • namespaces
  • memory management
  • C++ memory areas
  • overloading new and delete
  • book contain description of using smart pointer with auto_ptr
  • using const
  • casts
  • hints for better performance and code maintainability
December 30th, 2008 | Category: Books on C , C++ | Comments (0)

More Effective C++,book by Scott MeyersThis free ebook is a translation of the third edition of the american bestseller More Effective C++ and is a guide for the correct use of C++ programming language. E book will help make your program more understandable, simple in accompanied and effective. In addition to material describing the overall strategy design, ebook includes a chapter on programming using templates and resource management, as well as plenty of tips that will improve your programs and make the work more interesting and creative. Electronic book also includes new material on the principles of exceptions handling, the design programming pattern and library facilities.
This electronic book is the third edition of the American bestseller More Effective C++ and is a guide for the correct use of C++ language. E book will help you to make your program more understandable, simple and effective. In addition to material, describing the overall strategy design, ebook includes a chapter on programming using templates and resource management, as well as plenty of tips that will improve your programs and make the work more interesting and creative. Electronic book also includes new material on the principles handling of exceptions, the pattern design and library facilities.
E book is geared to programmers familiar with basic C++ and that have skills of c++ practical application. Electronic book gives advice on the most effective use of the C++ operators. Deals with the rights of transfer operators, how to bring the types of implementation mechanism RTTI and much more.Ebook provides practical advice on the use of buffered operator new, virtual constructors, smart pointers, proxy-classes and double dispatch. Particular attention is given to work with exceptions and the use of C code in programs written in C++. Electronic book describes the most latest tools of language and shows how they improve programs productivity. Applications include code of template auto_ptr and Internet-resources on C++.

December 29th, 2008 | Category: Books on C , C++ | Comments (0)

Effective C++,book by Scott MeyersThis ebook gives practical advice on the C++ design and C++ programming. Electronic book describes the rights that allow programmers to choose between different methods of the program implementation – inheritance and templates, templates and pointers to the base classes, open and closed succession, private inheritance and nested classes, virtual and non-virtual functions, etc.
This exceptionally useful ebook text offers Scott Myers’s expertise in C++ class design and programming tips. The second edition incorporates recent advances to C++ included in the ISO standard, including namespaces and built-in template classes, and is required reading for any working C++ developer.

The book opens with some hints for porting code from C to C++ and then moves on to the proper use of the new and delete operators in C++ for more robust memory management. The ebook text then proceeds to class design, including the proper use of constructors, destructors, and overloaded operator functions for assignment within classes. (These guidelines ensure that you will create custom C++ classes that are fully functional data types, which can be copied and assigned just like built-in C++ classes.)
The author also provides in book a handful of suggestions for general class design, including strategies for using different types of inheritance and encapsulation. Never doctrinaire and always intelligent, these guidelines can make your C++ classes more robust and easier to maintain.

December 29th, 2008 | Category: Books on C , C++ | Comments (0)

Effective STL,book by Scott Meyers

STL (Standard Template Library) has made a revolution in C++ programming, but programming,using stl is traditionally considered a very difficult task. Fortunately, the situation has changed. In this electronic book, a well-known author and programmer Scott Meyers reveals the secrets of skill to achieve maximum efficiency with this library. In this ebook provides numerous recommendations and methods of work with STL.
Book is written for the intermediate or advanced C++ programmer, renowned C++ expert Scott Meyers provides essential techniques for getting more out of the Standard Template Library in Effective STL, a tutorial for doing more with this powerful library.
STL is a hugely powerful feature of today’s C++, but one with a well-earned reputation for complexity. The book is organized into 50 tips that explore different areas of the STL. Besides providing in a book a list of rules and don’ts, Meyers presents a lot of background on what works and what doesn’t with STL. Each tip in ebook is demonstrated with in-depth coding samples, many of which make use of two-color printing to highlight the most important lines of code.
A good part of this book involves using containers, like vectors and maps, which are built into STL. (Besides the standard built-in containers, the author also highlights in a book recent additions to STL like B-trees, which are available as extensions from other vendors.) From the ebook you’ll learn the best ways to allocate, add, change, and delete items inside containers, including associative containers like maps. From the book you’ll also learn to avoid common pitfalls, which can result in writing code that is slow or just plain wrong.
Other areas covered in ebook Effective STL cover getting the most out of the 100-plus STL algorithms that are bundled with this library. In this book Meyers shows you how to choose the correct algorithm for sorting and other functions. In this book Meyers shows you when these classes make sense and the best ways to implement them. Besides specific tips, from the ebook you’ll get plenty of general programming advice. A useful appendix in the ebook shows the limitations of STL as implemented in Microsoft Visual C++ 6.0 and how to overcome them.
Overall, book Effective STL is a really invaluable source of programming expertise on an essential aspect of today’s C++ for anyone who is using–or planning to use - STL in real production code. It is quite simply a must-have.

December 28th, 2008 | Category: Books on C , C++ | Comments (0)