Factorial States Example▲
Sélectionnez
QT =
core
CONFIG +=
cmdline
SOURCES +=
main.cpp
# install
target.path =
$$[QT_INSTALL_EXAMPLES]/
widgets/
statemachine/
factorial
INSTALLS +=
target
The Factorial States example shows how to use The State Machine Framework to calculate the factorial of an integer.
Article lu fois.
The Qt Company Ltd.
Publié le 27 décembre 2024 - Mis à jour le 27 décembre 2024
QT =
core
CONFIG +=
cmdline
SOURCES +=
main.cpp
# install
target.path =
$$[QT_INSTALL_EXAMPLES]/
widgets/
statemachine/
factorial
INSTALLS +=
target