hi,
I am looking for some info on how can we implement state machines.
Conceptually it appears to be good but while implementing it causes lot of confusion..
I have some doubts regarding this concept.
(my explanation may look wired, as I am also not clear on this front)
The commonly adopted strategy to implement state machine is to have array of function pointers to handle a state. When ever appropriate input is recv the array is activated or used to trigger the functions.
(I don't have solid example, sorry for making it difficult to understand)
Can somebody add some info on this...
Regards,
Parasa Kiran