Advertisement
Glenpl

Untitled

Oct 24th, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.81 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int table[9];
  6. string gracz;
  7. string cross = "Krzyzyk";
  8. string circle = "Kolko";
  9.  
  10. void rysuj_plansze()
  11. {
  12.     cout << endl << endl << endl << endl << endl << endl;
  13.     cout << "                                   " << table[0] << " | " << table[1] << " | " << table[2] << endl;
  14.     cout << "                                   " << "---------" << endl;
  15.     cout << "                                   " << table[3] << " | " << table[4] << " | " << table[5] << endl;
  16.     cout << "                                   " << "---------" << endl;
  17.     cout << "                                   " << table[6] << " | " << table[7] << " | " << table[8] << endl;
  18.     cout << endl << endl << endl << endl << endl << endl;
  19. }
  20.  
  21. int main()
  22. {
  23.     rysuj_plansze();
  24.     return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement