So i've been told that in order for part of my program to work that I need to overload the == operator, unfortunately I have absolutely no idea how to do this, here is the class for which the operator needs to be overloaded
#ifndef PC_H
#define PC_H
#include <iostream>
#include <list>
using namespace std;
class PC{
protected:
string name;
string IP;
int disk_size;
string pass;
public:
PC();
PC(string, string, int, string);
string getName();
string getIP();
int getSize();
string getPass();
void setName(string);
void setIP(string);
void setNewPass();
void getAllInfo();
};
#endif
How would I go about overloading the == operator, thank you