1 line
103 B
C++
1 line
103 B
C++
int *ptr = std::lower_bound(array, array+len, what); // a custom comparator can be given as fourth arg
|