Format: PDF / Kindle (mobi) / ePub
Essential reading for experienced developers who are determined to master the latest release of C++
Although C++ is often the language of choice from game programming to major commercial software applications, it is also one of the most difficult to master. With this no-nonsense book, you will learn to conquer the latest release of C++. The author deciphers little-known features of C++, shares detailed code examples that you can then plug into your own code, and reveals the significant changes to C++ that accompany the latest release. You'll discover how to design and build applications that solve real-world problems and then implement the solution using the full capabilities of the language.
Appeals to experienced developers who are looking for a higher level of learning
- Drills down the extensive changes to the latest C++ standard, C++11, including enhancements made to run-time performance, standard library, language usability, and core language
- Zeroes in on explaining the more poorly understood elements of the C++ feature set and addresses common pitfalls to avoid
- Includes case studies that feature extensive, working code that has been tested on Windows and Linux platforms
- Intertwines text with useful tips, tricks, and workarounds
Packed with best practices for programming, testing, and debugging applications, this book is vital for taking your C++ skills to the next level.
form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal
class: Class Associated Components Properties Behaviors Piece None X or O None The table is a bit sparse, strongly hinting that what we have here may be too granular to be a fullfledged object. On the other hand, a forward-thinking programmer might argue that while Piece is a pretty meager class as it currently stands, making it into an object allows future expansion without any real penalty. Perhaps down the road, this will be a graphical application and it might be useful to have the
19: Becoming Adept at Testing Quality Control Whose Responsibility Is Testing? The Life Cycle of a Bug Bug-Tracking Tools Unit Testing Approaches to Unit Testing The Unit Testing Process Unit Testing in Action xiv 494 494 495 498 499 501 504 505 507 507 508 508 509 510 511 512 515 Contents Higher-Level Testing 523 Integration Tests System Tests Regression Tests 523 525 525 Tips for Successful Testing Summary 526 526 Chapter 20: Conquering Debugging 527 The Fundamental Law of
but work on sorted sequences from most containers. Algorithm Name Algorithm Synopsis includes() Determines if one sequence is a subset of another. set_union(), set_intersection(), set_difference(), set_symmetric_difference() Perform the specified set operations on two sorted sequences, copying results to a third sorted sequence. See Chapter 22 for an explanation of the set operations. 99 Chapter 4 Choosing an Algorithm The number and capabilities of the algorithms might overwhelm you at
the comments included. In some organizations, inline comments are frowned upon. In such cases, writing clean code and having good comments at the top of the function becomes vital. 138 Coding with Style Commenting to Convey Metainformation Another reason to use comments is to provide information at a higher level than the code itself. This metainformation provides details about the creation of the code without addressing the specifics of its behavior. For example, your organization may want to