Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Safe C++: How to avoid common mistakes

Buy
Astute readers such as yourself may be wondering whether the title of this book, Safe C++, presumes that the C++ programming language is somehow unsafe. Good catch! That is indeed the presumption. The C++ language allows programmers to make all kinds of mistakes, such as accessing memory beyond the bounds of an allocated array, or reading memory that was never initialized, or allocating memory and forgetting to deallocate it. In short, there are a great many ways to shoot yourself in the foot while programming in C++, and everything will proceed happily along until the program abruptly crashes, or produces an unreasonable result, or does something that in computer literature is referred to as “unpredictable behavior.” So yes, in this sense, the C++ language is inherently unsafe.

This book discusses some of the most common mistakes made by us, the programmers, in C++ code, and offers recipes for avoiding them. The C++ community has developed many good programming practices over the years. In writing this book I have collected a number of these, slightly modified some, and added a few, and I hope that this collection of rules formulated as one bug-hunting strategy is larger than the sum of its parts.

The undeniable truth is that any program significantly more complex than “Hello, World” will contain some number of errors, also affectionately called “bugs.” The Great Question of Programming is how we can reduce the number of bugs without slowing the process of programming to a halt. To start with, we need to answer the following question: just who is supposed to catch these bugs?
(HTML tags aren't allowed.)

Anticipatory Optimization for Dynamic Decision Making (Operations Research/Computer Science Interfaces Series)
Anticipatory Optimization for Dynamic Decision Making (Operations Research/Computer Science Interfaces Series)

Anticipatory optimization for dynamic decision making relies on a number of different scientific disciplines. On a general level, the foundations of the field may be localized at the intersection of operations research, computer science and decision theory. Closer inspection reveals the important role of branches such as simulation,...

Microsoft  Office SharePoint  Server 2007 Administrator's Companion
Microsoft Office SharePoint Server 2007 Administrator's Companion
Microsoft Office Sharepoint Server 2007 is the in-depth, one-volume guide to administering Office SharePoint Server 2007direct from the experts. Get comprehensive information to plan, deploy, administer, and support Microsoft Office SharePoint Server 2007. With this Administrators Companion, you get mission-critical information in a single...
Professional Microsoft SQL Server 2012 Analysis Services with MDX and DAX (Wrox Programmer to Programmer)
Professional Microsoft SQL Server 2012 Analysis Services with MDX and DAX (Wrox Programmer to Programmer)

Understand Microsoft's dramatically updated new release of its premier toolset for business intelligence

The first major update to Microsoft's state-of-the-art, complex toolset for business intelligence (BI) in years is now available and what better way to master it than with this detailed book from key members of...


Database Annotation in Molecular Biology: Principles and Practice
Database Annotation in Molecular Biology: Principles and Practice
Two factors dominate current molecular biology: the amount of raw data is increasing very rapidly and successful applications in biomedical research require carefully curated and annotated databases.  The quality of the data - especially nucleic acid sequences - is satisfactory; however, annotations depend on features inferred from the data...
Beginning Arduino
Beginning Arduino

In Beginning Arduino, you will learn all about the popular Arduino microcontroller by working your way through an amazing set of 50 cool projects. You'll progress from a complete beginner regarding Arduino programming and electronics knowledge to intermediate skills and the confidence to create your own amazing Arduino projects....

Relational and Algebraic Methods in Computer Science: 13th International Conference, RAMiCS 2012, Cambridge, United Kingdom, September 17-21, 2012, Proceedings (Lecture Notes in Computer Science)
Relational and Algebraic Methods in Computer Science: 13th International Conference, RAMiCS 2012, Cambridge, United Kingdom, September 17-21, 2012, Proceedings (Lecture Notes in Computer Science)

This book constitutes the thoroughly refereed post-conference proceedings of the 13th International Conference on Relational and Algebraic Methods in Computer Science, RAMiCS 13, held in Cambridge, UK, in September 2012. The 23 revised full papers presented were carefully selected from 39 submissions in the general area of relational and...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy