Tag: state machine
-
Three simple ways to code finite state machines

This tutorial will show you three simple ways to code finite state machines using the C++ programming language in Visual Studio. Learn how to use an enum and a switch case. Then learn how to use inheritance and polymorphism. Finally learn how to use function pointers.
