This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<string.h> | |
const int N = 10; | |
// структура, описывающая результат выполениия состояния, а именно: | |
// | |
struct ReturnType | |
{ | |
struct ReturnType(*ResultState)(int); // это - указатель на функцию. Указывает на следующее состояние, что следует выполнить машине. |