tomtetlaw -1 Posting Pro

I want to be able to find a class with a variable in it:

for(int i=0;i<classes.size();i++)
{
    if(class[i].name == classes[i])
        return class[i];
}

I think class would be a list of classes that are instanced.
where classes is a vector of strings.

Is this possible?

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.