Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Searching and Sorting

Use the following functions for searching and sorting.

Searching and Sorting Functions

Function Search or Sort
bsearch Binary search
_lfind Linear search for given value
_lsearch Linear search for given value, which is added to array if not found
qsort Quick sort

See Also

Run-Time Routines by Category | Run-Time Routines and .NET Framework Equivalents

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.