Keby to este niekoho zaujimalo, priklad na skuske nieje. Vsetko veci z prednasok, ziadne vhdl, ziadne schemy...
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Zobrazi prspevky MenuQuote from: v_oid on 09.12.2010, 05:00:17
http://pastie.org/1360310
Position Member ( Key x, Bvs t )
{
Position pos = NULL;
if (t == NULL) return NULL;
if (t -> key == x) return (Position)t;
if (t -> key < x) pos = Member(x, t -> right);
if (t -> key > x) pos = Member(x, t -> left);
return pos;
}