Page 1 of 1

Qsort & Bsearch

Posted: Sun Oct 03, 2004 11:45 am
by Junayeed
How can I use the built in function QSORT & BSEARCH in the same program.

Please help me..

Posted: Sun Oct 03, 2004 11:57 am
by sohel
Is there any restriction of using both of them in the same program?
I don't think so.

Just use them when you need them.

Posted: Mon Oct 04, 2004 4:14 am
by Junayeed
Thanks for the reply.

But I can not implement the built in BSEARCH function for the structure. I can do this for built in QSORT func.

Can it be done with the same compare function.

Thanks.