I've editted a struct, added some members, removed others. But when I'm debugging, it doesn't show the new members, but is still showing some old members. It's very annoying. This is the struct. It doesn't show the firstFreeSpot int. But a vector called appointments, which I removed. This is the struct.
struct AppointmentHour
{
string date;
string beginTime;
string endTime;
string class;
int firstFreeSpot;
string toString();
static AppointmentHour* fromString(string str);
int getOccupation();
bool isSpaceFree(int duration);
int getFirstFreeSpot();
void addAppointmentDuration(int duration);
};
I'm certain this is the right struct, because when i go to the definition, it leads to this struct. And when i remove a field of this struct, it sayt it can't find it.
Has anybody a clue whats going on here?