C++ Programming by Example: Section 1: Introduction To C++ and QT
C++ Programming by Example: Section 1: Introduction To C++ and QT
In this section, we introduce C++ and Qt and get the development environment set up for the course.
Why should you use C++ in 2018? Is the language still useful?
How to get input from the user and use it in the virtual die?
Introduce std::cin
Show a brief example of using std::cin
Allow viewers to implement the coding exercise to get user input on die range and number of
rolls
Here we get into the bread and butter of C++: containers and algorithms. C++ is designed to be generic
and flexible, and here you’ll get to see that first hand. We’ll begin with an overview of some of the
available containers in the Standard Template Library.
Introduce algorithms available in the standard template library via the documentation
Implement examples of use of the various algorithms
Show the output from program runs using the STL algorithms
How to build a mini address book that is sortable by first name, last name, and phone number?
In this section, you’ll learn about classes and structures in C++ and use them to organize your code. We’ll
put this into practice by building a casino-style guessing game.
You’ll get to put everything you’ve learned together to build a custom library management system.
Here you’ll get a basic GUI application setup and running to get acquainted with Qt5.
Install Qt5
Implement CMake for your Qt5 directory as shown in the video
Reconfigure and generate the project via CMake
Open Qt Creator
Create a new Qt class
Add the files to the correct folders in the course code
How do you save the file on the system and open the same on the system later?
In this section, you’ll get a taste of some of the more advanced Qt topics, including building your own
custom Qt5 widget.