I have two vectors--one with the name of the class and one with the abbreviation of the class. The name of the class is in the same position of the abbreviation in the different vectors. I want to make it to where if I input "AERO" the output should be Aerospace Engineering using find().

vector doesn't have a find() method. Maybe what you want is std::map instead of two vectors.

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.