My one works for any type (as long as this type has overloaded == operator), doggy code has one small error. I'll let u figure it out urself.
template<typename T>
bool isInArray(T *array, int range, T *lookingForArray, int rangeTheSecond)
{
for(int i = 0; i< range; i++)
for(int j = 0; j <...