Odpowiedz
Nowy wątek
Odpowiedz
Wybaczcie za takie pytania :-(
dlaczego ta funkcja nie dziala
void wypisz(int x,int y)
{
if (Tablica[x,y]==0)
{
cout << " ";
}
else if(Tablica[x,y]==1)
{
cout << "X";
}
else (Tablica[x,y]==2)
{
cout << "O";
}
}
Kompilator zwraca blad:
43 C:\Documents and Settings\ja\Pulpit\kik\main.cpp
ISO C++ forbids comparison between pointer and integer
47 C:\Documents and Settings\ja\Pulpit\kik\main.cpp
ISO C++ forbids comparison between pointer and integer
48 C:\Documents and Settings\ja\Pulpit\kik\main.cpp
parse error before `{' token
Liczba odpowiedzi na stronę