Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Punkt* start = &startowy;
- Punkt* poszukiwany = &cel;
- Punkt* koniec = &listaWszystkichPunktow[cel.x][cel.y];
- do
- {
- for (int i = 0; i < witam.size(); i++)
- {
- if (witam[i]->x == koniec->rodzic->x && witam[i]->y == koniec->rodzic->y)
- {
- poszukiwany = &listaWszystkichPunktow[witam[i]->x][witam[i]->y];
- }
- }
- } while (poszukiwany = start);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement