Imperfect C++: Practical Solutions for Real-life Programming

Imperfect C++: Practical Solutions for Real-life Programming
ISBN-10
0321228774
ISBN-13
9780321228772
Category
Computers / Languages / C
Pages
588
Language
English
Published
2005
Publisher
Addison-Wesley
Author
Matthew Wilson

Description

Imperfect C++Imperfect C++ C++, although a marvelous language, isn t perfect. Matthew Wilson has been working with it for over a decade, and during that time he has found inherent limitations that require skillful workarounds. In this book, he doesn t just tell you what s wrong with C++, but offers practical techniques and tools for writing code that s more robust, flexible, efficient, and maintainable. He shows you how to tame C++ s complexity, cut through its vast array of paradigms, take back control over your code--and get far better results.If you re a long-time C++ developer, this book will help you see your programming challenges in new ways--and illuminate powerful techniques you may never have tried. If you re newer to C++, you ll learn principles that will make you more effective in all of your projects. Along the way, you ll learn how to: Overcome deficiencies in C++ s type system Enforce software design through constraints, contracts, and assertions Handle behavior ignored by the standard-- including issues related to dynamic libraries, static objects, and threading Achieve binary compatibility between dynamically loading components Understand the costs and disadvantages of implicit conversions--and the alternatives Increase compatibility with diverse compilers, libraries, and operating environments Help your compiler detect more errors and work more effectively Understand the aspects of style that impact reliability Apply the Resource Acquisition Is Initialization mechanism to a wide variety of problem domains Manage the sometimes arcane relationship between arrays and pointersUse template programming to improve flexibility and robustness Extend C++: including fast string concatenation, a true NULL-pointer, flexible memory buffers, Properties, multidimensional arrays, and RangesThe CD-ROM

Similar books

  • The Waite Group's C++ Primer Plus
    By Stephen Prata

    11 exceptar.cpp use the ArrayDbe class 1 / Compile with arraydbe.cpp #include < iostream > using namespace std ; #include " arraydbe.h " const int Players 5 ; int main ( ) { try { ArrayDbE Team ( Players ) ; cout

  • The Design and Evolution of C++
    By Bjarne Stroustrup

    This book focuses on the principles, processes and decisions made during the development of the C++ programming language. As the inventor of the language, Stroustrup presents his insight into the...

  • IronPython in Action
    By Michael J. Foord, Christian Muirhead

    In 2005, Microsoft quietly announced an initiative to bring dynamic languages to the .NET platform. The starting point for this project was a .NET implementation of Python, dubbed IronPython. After...

  • C++ Programming Style
    By Tom Cargill

    Design and coding style rules are distilled from the examples. Understanding and following these rules will help professional programmers design and write better C++ programs. A chapter is devoted to...

  • Sams Teach Yourself Database Programming with Visual C++ 6 in 21 Days
    By Lyn Robison

    Sams Teach Yourself Database Programming With Visual C++ 6 in 21 Days teaches readers to take full advantage of database programming using Visual C++ 6. The book focuses on teaching...

  • ASP.NET 2.0 Cookbook
    By Michael Kittel, Geoffrey LeBlond

    Completely revised for ASP.NET 2.0, this new edition of the best-selling ASP.NET Cookbook has everything you need to go from beginning to advanced Windows-based web site development using Microsoft's popular...

  • ASP.NET 2.0 Black Book

    The ASP.Net 2.0 Black Book features immediate solutions that provide hands-on real-world techniques to solve problems without extensive tutorials. Readers will learn how to use the full potential of ASP.Net...

  • Scientific and Engineering C++: An Introduction with Advanced Techniques and Examples
    By John J. Barton, Lee R. Nackman

    Scientific and Engineering C++ brings the power of C++ to science and engineering programming.Highlights: builds on knowledge of both FORTRAN and C, the languages most familiar to scientists and engineers;...

  • Problem Solving with C++
    By Walter J. Savitch

    Introductory Programming / C++ Problem Solving with C++, Sixth Edition Walter Savitch Walter Savitch's "Problem Solving with C++ "is the most widely used textbook for the introduction to programming in...

  • Problem Solving with C++: The Object of Programming
    By Walter J. Savitch

    Enables readers to efficiently master the fundamentals of C++ and object-oriented programming, while imparting skills that are valuable with virtually any contemporary programming language. Writing in a friendly, highly motivational...