Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ConsoleApplication14.cpp : Defines the entry point for the console application.
- //
- #include "stdafx.h"
- #include<iostream>
- char tab[3][3] = {' ',' ',' ',' ',' ',' ',' ',' ',' '};
- using namespace std;
- int v;
- int main()
- {
- cout << tab[0][0] << " | " << tab[0][1] << " | " << tab[0][2] << endl;
- cout << "-----------" << endl;
- cout << tab[1][0] << " | " << tab[1][1] << " | " << tab[1][2] << endl;
- cout << "-----------" << endl;
- cout << tab[2][0] << " | " << tab[2][1] << " | " << tab[2][2] << endl;
- cout << tab[0][0] 'x' ;
- /* tab[0][1]
- tab[0][2]
- tab[1][0]
- tab[1][1]
- tab[1][2]
- tab[2][0]
- tab[2][1]
- tab[2][2]
- */
- getchar();
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement