Public feed #529278

Unnamed

public cpp v1 · immutable
Raw Edit
·published 2007-06-01 21:19 UTC
rendered paste body
int retrieve(const <keye> &, <data>[], int & matches){    if(!root)        return 0; //No match        if(root->(DATA))        return 1; //Match        if(root->(DATA) > (DATA))        return search(root->leftchild, (DATA));    else        return search(root->rightchild, (DATA));        }