C++
-
C++ Resources Network
http://www.cplusplus.com/Comprehensive website with references, tutorials, forums, and other information on the C++ language.
-
C++:
<random>
Library Reference
http://www.cplusplus.com/reference/random/Reference for the
<random>
library with improved random number generators introduced in C++ 11. Includes an example that simulates rolling a die. -
C++: How to Sort a
vector
of Custom Objects
http://www.walletfox.com/course/sortvectorofcustomobjects.phpTutorial explaining how to implement a custom class whose objects can be sorted by the standard C++
sort
algorithm. Provides examples usingsort
and operator overloading, as well as a function object. -
C++: How to Use Lambda Expressions to Sort Custom Objects
http://www.walletfox.com/course/sortvectorofcustomobjects11.phpTutorial on using lambda expressions (introduced in C++ 11) in lieu of predicate functions or function objects to sort a vector of custom objects. Also shows you how to use the capture list to allow for custom sorting of those objects.
-
C++: Type Casting Operators
https://www.tutorialspoint.com/cplusplus/cpp_casting_operators.htmTutorial and reference on the different C++ casting operators. Includes an example using the general ( ) casting operator.
-
C++:
const
Declaration: Why & How
http://duramecho.com/ComputerInformation/WhyHowCppConst.htmlReference explaining the purposes of C++'s
const
keyword and how to use it. -
C++:
ctime
Time Functions Reference
http://www.cplusplus.com/reference/ctime/Reference for time-related functions and types in C++. Includes
struct tm
,time_t
,time()
,asctime()
, and others. -
C++:
map
Class Template Reference
http://www.cplusplus.com/reference/map/map/Reference for C++'s
map
data structure class template -
C++:
rand()
andsrand()
Functions
http://www.bogotobogo.com/cplusplus/RandomNumbers.phpTutorial on using the older C++
rand()
andsrand()
functions to generate pseudo-random numbers. -
C++:
string
Class Reference
http://www.cplusplus.com/reference/string/string/Reference for C++'s
string
class functions -
C++:
vector
Class Template Reference
http://www.cplusplus.com/reference/vector/vector/Reference for C++'s
vector
data structure class template -
C++: Converting Strings and Numbers
http://jpgrady28.azurewebsites.net/Home/Docs/179Reference that provides several examples of how to convert standard
string
objects to numeric types, and vice versa. Includes the C++11 functions (stoi
,stod
), as well as older functions (atoi
,atof
) inherited from C. -
Introduction to Qt (VoidRealms Video)
http://www.youtube.com/watch?v=6KtOzh0StTcYouTube video series by Bryan Cairns (@VoidRealms) demonstrating all facets of developing a GUI with Qt Creator. The link takes you to Part 1 of the series.
-
Learn C++ Tutorials
http://www.learncpp.com/Comprehensive tutorial site that covers all of the C++ programming topics one would expect from a textbook. Each topic includes examples and a discussion forum with the website author.
-
Qt & Git: How to Configure Git
http://jpgrady28.azurewebsites.net/Home/Docs/182Brief tutorial walking you through how to configure Qt to use Git. This assumes that you have downloaded and installed Git for Windows from the Git website.
-
Qt Download (Open Source)
https://www.qt.io/download-qt-installer-ossDownload the latest version of Qt here. Choose the Online installer that matches your OS.
-
Qt Install (Open Source)
http://jpgrady28.azurewebsites.net/Home/Docs/134Walks you through the process of installing Qt, assuming you have downloaded the Qt Online Installer. Windows Users: be sure to follow these directions and install the MinGW compiler. DO NOT INSTALL ANY OF THE VISUAL C++ Compilers
-
Qt:
QCheckBox
(VoidRealms video)
https://www.youtube.com/watch?v=W3EWVLPAoeAShort video tutorial demonstrating how to set up and use check boxes (
QCheckBox
) in your Qt GUI application. -
Qt:
QFileDialog
: HowTo
https://www.youtube.com/watch?v=tKdfpA74HYYVideo tutorial demonstrating how to set up and use a file dialog box (
QFileDialog
) to open a file in Qt. -
Qt:
QMessageBox
(VoidRealms video)
https://www.youtube.com/watch?v=zwCjcZD7GlUVideo tutorial demonstrating how to set up and use a message box (
QMessageBox
) in your Qt GUI application. -
Qt:
QRadioButton
(VoidRealms video)
https://www.youtube.com/watch?v=gDaeZtjitc8Short video tutorial demonstrating how to set up and use radio buttons (
QRadioButton
) in your Qt GUI application. -
Qt:
QStringList
(VoidRealms video)
https://www.youtube.com/watch?v=n9ekbNw3xjYVideo tutorial demonstrating how to use
QStringList
objects in your Qt GUI application. -
Qt:
QTimer
Class Tutorial
http://www.bogotobogo.com/Qt/Qt5_QTimer.phpTutorial walking through how to set up a
QTimer
timer to run at a fixed intervals in a Qt application. -
Qt: Basic Programming Tutorial
http://wiki.qt.io/Basic_Qt_Programming_TutorialA step-by-step tutorial introduction to Qt programming using Qt Creator.
-
Qt: Converting Text and Numbers to and from QString
http://jpgrady28.azurewebsites.net/Home/Docs/176Reference that provides several examples of conversions among
QString
objects, standard strings, and numbers. Also provides an example of how to format numbers usingQLocale
. -
Qt: Model/View Tutorial
https://doc.qt.io/qt-5/modelview.htmlAn introduction to the Model/View architecture design pattern used by Qt Widget applications, separating data from presentation
-
Qt: SQLite database with Qt - step by step
https://katecpp.wordpress.com/2015/08/28/sqlite-with-qt/A tutorial explaining how to use Qt to connect to a database and run queries. The author uses SQLite, but you can easily adapt what she does to SQL Server and MySQL
-
Qt: Style Sheets Examples
http://doc.qt.io/qt-5/stylesheet-examples.htmlQt documentation page with many examples of using a style sheet to control the appearance of GUI widgets. Particularly helpful as a reference for Qt-specific CSS selectors.
-
SEI CERT C++ Coding Standard (Security)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=88046682Online book from Carnegie Mellon's Software Engineering Institute detailing recommended coding practices and rules for writing secure C++ applications.
-
Visual Studio: Getting Started with C++
https://docs.microsoft.com/en-us/visualstudio/ide/getting-started-with-cpp-in-visual-studioShort introduction tutorial on how to create a simple " Hello, World " C++ application using Visual Studio. Great place to start for beginners!
-
Visual Studio: Writing and Refactoring Code (C++)
https://docs.microsoft.com/en-us/cpp/ide/writing-and-refactoring-code-cppDiscusses the different tools in Visual Studio to help you write and change C++ code. Quick introductions to IntelliSense; code snippets; the Class Wizard; the refactoring tools in the Quick Action menus and Edit > Refactor menu; QuickInfo tooltips; Peek Definition; and the Quick Launch search bar.