Hi ,
I have two character arrays, I want to get the all the elements from 2nd array which are not in 1st array. Can some one help.
thanks
goldy
If the two arrays aren't sorted all you can do is check every element in array2
and see if it is present in array1; if it is, skip it, if it isn't store it somewhere.
If you're using C++ you can use a vector or list for that purpose and use some
if its fine functionality; if you're using C you're stuck with arrays and a bit of
memory management.
kind regards,
Jos