I would like to know how to search an array from a bunch of arrays. I would also like to know how I can search a close match to an array from a bunch of arrays.

Depends on what criteria you want to search the array. Take a look at this for ideas on how to make your program a bit more object oriented (if you are up to that challenge). The larger example contains some more ideas on using functors, algorithms, and sequence containers with user defined classes.