C++ Programming By Example

Video description

C++ is a flexible and generic language that offers a wide range of benefits with key strengths being software infrastructure and resource-constrained applications. This course is an introductory guide to C++ that will help you learn the language through multiple hands-on examples.

You’ll begin by diving into the C++ basics, syntax, and generic programming features. We’ll then move on to using data structures and algorithms with C++. Next, you’ll delve into the object-oriented features of C++ with another practical example.

Finally, you’ll further enhance your C++ programming skills by creating multiple GUI, desktop applications using Qt5. By the end of this course, you will have gained knowledge of core programming concepts in C++, and how to implement them effectively.

What You Will Learn

  • C++ syntax and industry-standard style
  • Develop and architect C++ apps in a modular and maintainable way
  • Implement the use of modern language features that make code readable and concise
  • Develop efficient and well-designed applications
  • Develop a simple yet fun desktop GUI application using the Qt5 framework

Audience

This course is designed for professionals who would like to learn the C++ programming language practically and quickly. Any sort of programming experience would be helpful, but not mandatory.

About The Author

Paul Tsouchlos: Paul Tsouchlos is a Product Development Engineer at a small life sciences company with a background in Biomedical Engineering. He enjoys coding in C++, Java, Android, and C# and also occasionally pilot racing drones. You can find him on GitHub @DeveloperPaul123, on his blog developerpaul123.github.io and YouTube @DeveloperPaul123.

Table of contents

  1. Chapter 1 : Introduction to C++ and Qt
    1. The Course Overview
    2. Why C++?
    3. Setting Up Your Development Environment
    4. Basic C++ Syntax
    5. Installing Qt5 on Windows
  2. Chapter 2 : Building a Virtual Die with C++
    1. Setting Up Your First C++ Project
    2. Coding a Virtual Die – Generating Random Numbers
    3. Coding a Virtual Die – Displaying the Output
    4. Enhancing the Virtual Die with User Input
  3. Chapter 3 : Data Structures and Algorithms: Building a Sorting Application
    1. Overview of Containers in C++
    2. A Deeper Dive into std::vector
    3. Overview of STL Algorithms
    4. Use STL Algorithms with Containers
    5. Building a Sorting Application
  4. Chapter 4 : Classes and Structures: Building a Casino Guessing Game
    1. Why Use Classes and Structures?
    2. Overview of Classes and Structures
    3. Differences Between Classes and Structures
    4. Implementing a Casino Guessing Game
  5. Chapter 5 : Building a Library Management System
    1. Planning out an Application
    2. Building a Library Management System
    3. Adding Test Data
    4. Adding Search Functionality
  6. Chapter 6 : Getting Acquainted with Qt
    1. Setting Up Your First GUI Project
    2. Setting Up a Basic GUI with Qt Creator
    3. Running Your First GUI Application
  7. Chapter 7 : Qt Signals and Slots: Building a Text Editor
    1. Setting Up Your Text Editor Project
    2. Creating a Basic GUI in Qt Creator
    3. Reacting to User Interaction with Signals and Slots
    4. Creating Custom Slots
    5. Finishing the Text Editor
  8. Chapter 8 : Building a Painting Application in Qt5
    1. Setting Up Your Painting Application
    2. Understanding Qt5 Widgets
    3. Creating Your Own Qt5 Widget
    4. Reacting to User Input
    5. Painting User Input on Screen
    6. Adding the Ability to Draw Circles
    7. Allow for Shape Resizing

Product information

  • Title: C++ Programming By Example
  • Author(s): Paul Tsouchlos
  • Release date: November 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781788395595