I would like to know how to compare two instances, how the skeleton of the method should be and how to recall it in the main.
in the file.h
type operator==(const& className1, const& className2); like that?
in the file.cpp
type operator==(const& className1, const& className2){
..................
}
like that?
How do I call this back in the main.cpp?