index of an element in the array ?
Hello,
is it (and how is it) possible in C to get the index of an element in the array ? for example, with the 'bsearch' function. Thanks well, i think the solution is quite simple: Code:
int get_index( type element, type* array, int arraysize) { |
I assume this is no longer an open question then...
|
All times are GMT -5. The time now is 09:13 PM. |