Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by fsg ( 14 years ago )
wezel *&ojciec;( struct wezel *&korzen;, int klucz)
{
struct wezel *tatus;
struct wezel *biezacy;


biezacy = korzen;
tatus = NULL;

while (biezacy->klucz != klucz)
{
 tatus = biezacy;
 if (biezacy->klucz < klucz)
  biezacy = biezacy->prawy;
 else
  biezacy = biezacy->lewy;
}

return tatus;
}

 

Revise this Paste

Your Name: Code Language: