title: Implementing a State Machine in C++ HOW?
body: <p>I'm new to C++.</p>
  
  <p>How can I implement a State Machine in C++ ?</p>
  
  <p>I'm getting only the messages and should know the next state.</p>
  
  <p>What is the proper structure I need to use ?</p>
  
  <p>Thanks, Igal</p>