Example #1
0
bool compareNames(Cliente nameA, Cliente nameB) // compara os nomes para ordenaƧao alfabetica
{
	if (nameA.getNome() < nameB.getNome())
	{
		return true;
	}

	else
	{
		return false;
	}

}
Example #2
0
bool Cliente::operator==(Cliente rhs) const {
	return  nome== rhs.getNome() && NIF == rhs.getNIF();
}