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.
cplusplus.com/forum/articles/10879/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.