xemerau

command loop

Oct 14th, 2011
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.14 KB | None | 0 0
  1. for (i = 0; i < 3; i++)
  2.         {
  3.         if (input = command[i])
  4.         {
  5.             FillScreen(i);
  6.             std::cout << "Command accepted!" << std::endl;
  7.         }
  8.     }
  9.  
Advertisement
Add Comment
Please, Sign In to add comment