Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.txt | 2021-11-11 | 402 Bytes | |
stoplight.m | 2021-11-11 | 2.9 kB | |
main.m | 2021-11-11 | 2.2 kB | |
Makefile | 2021-11-11 | 2.6 kB | |
stoplight.h | 2021-11-11 | 1.3 kB | |
stoplight.sm | 2021-11-11 | 1.9 kB | |
stoplightdefs.h | 2021-11-11 | 1.1 kB | |
Totals: 7 Items | 12.6 kB | 0 |
C++ Example 4 Simplistic, non-graphical simulation of a stoplight. Demonstrates how to use state machines to handle external events (in this case timeouts). + Building ---------- NOTE: Smc.jar must be built and installed. Unix: $ make traffic Windows Visual C++: 1. Load ex1.dsw. 2. Rebuild all. + Executing ----------- Unix & Windows: $ traffic