c++ sample help

Implementation example
    #include "TestControl_created.hpp"

    int main()
    {
    
      StateManager *sm = static_cast(new TestControl_created());
      sm->Start();
    
      while(!sm->IsEnd()) {
        sm->Update();
      }
    
      delete sm;
    }