Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int wygrana_1_ruchem(char **tab, int ls, int szer, int wys){
- for(i=0; i<szer; i++){
- for(j=0; j<wys;j++){
- if(tab[i][j]==' '){
- tab[i][j]='X';
- if(sprawdz(tab, ls, szer, wys, 'X')){
- return 0;
- }
- tab[i][j]=' ';
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment