- 384 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Mastering C++ Programming
About This Book
Take your C++ coding to the next level by leveraging the latest features and advanced techniques to building high performing, reliable applications. About This Bookā¢ Get acquainted with the latest features in C++ 17ā¢ Take advantage of the myriad of features and possibilities that C++ offers to build real-world applicationsā¢ Write clear and expressive code in C++, and get insights into how to keep your code error-freeWho This Book Is ForThis book is for experienced C++ developers. If you are a novice C++ developer, then it's highly recommended that you get a solid understanding of the C++ language before reading this book What You Will Learnā¢ Write modular C++ applications in terms of the existing and newly introduced featuresā¢ Identify code-smells, clean up, and refactor legacy C++ applicationsā¢ Leverage the possibilities provided by Cucumber and Google Test/Mock to automate test casesā¢ Test frameworks with C++ā¢ Get acquainted with the new C++17 featuresā¢ Develop GUI applications in C++ā¢ Build portable cross-platform applications using standard C++ features In DetailC++ has come a long way and has now been adopted in several contexts. Its key strengths are its software infrastructure and resource-constrained applications. The C++ 17 release will change the way developers write code, and this book will help you master your developing skills with C++. With real-world, practical examples explaining each concept, the book will begin by introducing you to the latest features in C++ 17. It encourages clean code practices in C++ in general, and demonstrates the GUI app-development options in C++. You'll get tips on avoiding memory leaks using smart-pointers. Next, you'll see how multi-threaded programming can help you achieve concurrency in your applications. Moving on, you'll get an in-depth understanding of the C++ Standard Template Library. We show you the concepts of implementing TDD and BDD in your C++ programs, and explore template-based generic programming, giving you the expertise to build powerful applications. Finally, we'll round up with debugging techniques and best practices.By the end of the book, you'll have an in-depth understanding of the language and its various facets. Style and approachThis straightforward guide will help you level up your skills in C++ programming, be it for enterprise software or for low-latency applications like games. Filled with real-world, practical examples, this book will take you gradually up the steep learning curve that is C++.
Frequently asked questions
Information
Standard Template Library
- STL overview
- STL architecture
- Containers
- Iterators
- Algorithms
- Functors
- STL containers
- Sequence
- Associative
- Unordered
- Adaptors
The Standard Template Library architecture
- Algorithms
- Functors
- Iterators
- Containers
Algorithms
Iterators
Gang of Four published their design patterns-related work to the software community. Iterators themselves are objects that allow traversing the containers to access, modify, and manipulate the data stored in the containers. Iterators do this so magically that we don't realize or need to know where and how the data is stored and retrieved.
- Input iterators
- Output iterators
- Forward iterators
- Bidirectional iterators
- Random-access iterators
The type of iterator | Description |
Input iterator |
|
Output iterator |
|
Forward iterator |
|
Table of contents
- Title Page
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Dedication
- Preface
- C++17 Features
- Standard Template Library
- Template Programming
- Smart Pointers
- Developing GUI Applications in C++
- Multithreaded Programming and Inter-Process Communication
- Test-Driven Development
- Behavior-Driven Development
- Debugging Techniques
- Code Smells and Clean Code Practices