Hi,
i want to search a particular string on first dimension of two dimensional array. i can do this by looping thru each element on the array. but its really time consuming and my array has large amout of data too and also i need to repeat this process many times.so that, i like to use some default functions to do this such as binary search or anyother?
i know, we can use binary search on one dimensional array. but , how can we implement this for two dimen. or is there any direct way to copy one dimension of two dimensional array into one dimensional array?
Thanks in advance.
i want to search a particular string on first dimension of two dimensional array. i can do this by looping thru each element on the array. but its really time consuming and my array has large amout of data too and also i need to repeat this process many times.so that, i like to use some default functions to do this such as binary search or anyother?
i know, we can use binary search on one dimensional array. but , how can we implement this for two dimen. or is there any direct way to copy one dimension of two dimensional array into one dimensional array?
Thanks in advance.