C++17 By Example: Practical projects to get you up and running with C++17
- Length: 442 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-02-26
- ISBN-10: 1788391810
- ISBN-13: 9781788391818
- Sales Rank: #247292 (See Top 100 Books)
Discover the impressive capabilities of C++ and learn the skills you need to implement it in real life
Key Features
- Leverage the power of C++ language constructs to build effective software
- Learn about file handling and pointers
- Build visually appealing GUI by using the power of Qt5
- Get a deeper understanding of how to program C++ for a specific purpose by implementing a Domain Specific Language
Book Description
C++ is a general-purpose programming language built with a bias towards embedded programming and systems programming. Over the years, C++ has evolved and is used to develop software for many different sectors. Given its versatility and robustness, C++is a wonderful language to start your coding journey with. This book covers exciting projects built in C++ that show how to implement the language in different scenarios. While developing these projects, you will not only learn the language constructs but also how you can use C++ to meet your software requirements.
The book starts with a brief introduction to C++ language constructs where you will learn essential concepts that are required to understand the projects covered in the book. The first module will build a library management system that will teach you how to perform efficient file handling and use pointers in your software. To give you a taste of GUI programming, the next module will build graphical applications using Qt 5. You will then be introduced to game design in C++ and build two interesting games. The final module will teach you how C++ can be used to create a Domain Specific Language.
After reading this book, you will have mastered core programming concepts in C++, and how to implement them effectively.
What you will learn
- Create object-oriented hierarchies and how to compile, link, and execute a simple program
- Implement classes with linked lists, templates, inheritance, operator overloading, and exception handling
- Efficient file handling and pointer structures
- Dynamic allocation and deallocation along with marshmallowing
- Qt features, including menus, toolbars, caret handling, and more
- Implement a Domain Specific Language in C++
Who This Book Is For
This book is for developers who would like to develop software in C++. Basic programming experience would be an added advantage.
Table of Contents
Chapter 1 Getting Started with C++
Chapter 2 Data Structures and Algorithms
Chapter 3 Building a Library Management System
Chapter 4 Library Management System with Pointers
Chapter 5 Qt Graphical Applications
Chapter 6 Enhancing the Qt Graphical Applications
Chapter 7 The Games
Chapter 8 The Computer Plays
Chapter 9 A Domain-Specific Language
Chapter 10 Advanced Domain-Specific Language