I have to create a dynamically allocated vector of objects from the Resistor class, which only has two private variables: resistance and tolerance. After that, a function must be created in order to search the vector for those objects that have resistance and tolerance equal to the values passed in the function's argument.
After searching for a while, I have no idea how to implement this. Any thoughts?