Mastering C++ Programming.
Take your C++ coding to the next level by leveraging the latest features and advanced techniques to building high performing, reliable applications. About This BookGet acquainted with the latest features in C++ 17Take advantage of the myriad of features and possibilities that C++ offers to build rea...
Saved in:
Main Author: | |
---|---|
Format: | Electronic eBook |
Language: | English |
Published: |
Birmingham :
Packt Publishing,
2017.
|
Subjects: | |
Online Access: |
Full text (Emmanuel users only) |
Table of Contents:
- Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Customer Feedback; Dedication; Table of Contents; Preface; Chapter 1: C++17 Features; C++17 background; What's new in C++17?; What features are deprecated or removed in C++17?; Key features in C++17; Easier nested namespace syntax; New rules for type auto-detection from braced initializer list ; Simplified static_assert ; The std::invoke() method; Structured binding; If and Switch local scoped variables; Template type auto-deduction for class templates; Inline variables; Summary.
- Chapter 2: Standard Template LibraryThe Standard Template Library architecture; Algorithms; Iterators; Containers; Functors; Sequence containers; Array; Code walkthrough; Commonly used APIs in an array; Vector ; Code walkthrough; Commonly used vector APIs; Code walkthrough; Pitfalls of a vector; List ; Commonly used APIs in a list; Forward list; Code walkthrough; Commonly used APIs in a forward_list container; Deque; Commonly used APIs in a deque; Associative containers; Set; Code walkthrough; Commonly used APIs in a set; Map; Code walkthrough; Commonly used APIs in a map; Multiset; Multimap.
- Unordered setsUnordered maps; Unordered multisets; Unordered multimaps; Container adapters; Stack; Commonly used APIs in a stack; Queue; Commonly used APIs in a queue; Priority queue; Commonly used APIs in a priority queue; Summary; Chapter 3: Template Programming; Generic programming; Function templates; Code walkthrough; Overloading function templates; Code walkthrough; Class template; Code walkthrough; Explicit class specializations; Code walkthrough; Partial template specialization; Summary; Chapter 4: Smart Pointers; Memory management; Issues with raw pointers; Smart pointers; auto_ptr.
- Code walkthrough
- Part 1Code walkthrough
- Part 2; unique_ptr; Code walkthrough; shared_ptr; Code walkthrough; weak_ptr; Circular dependency; Summary; Chapter 5: Developing GUI Applications in C++; Qt ; Installing Qt 5.7.0 in Ubuntu 16.04; Qt Core; Writing our first Qt console application; Qt Widgets; Writing our first Qt GUI application; Layouts; Writing a GUI application with a horizontal layout; Writing a GUI application with a vertical layout; Writing a GUI application with a box layout; Writing a GUI application with a grid layout; Signals and slots.
- Using stacked layout in Qt applicationsWriting a simple math application combining multiple layouts; Summary; Chapter 6: Multithreaded Programming and Inter-Process Communication; Introduction to POSIX pthreads; Creating threads with the pthreads library; How to compile and run; Does C++ support threads natively?; How to write a multithreaded application using the native C++ thread feature; How to compile and run; Using std::thread in an object-oriented fashion; How to compile and run; What did you learn?; Synchronizing threads; What would happen if threads weren't synchronized?