-3

I am debugging a C++ code which is divided into multiple files. The code which I am debugging has 6 errors in total, both syntax and logical. I have found one error but I could not figure out a way to solve the rest. I have referred to multiple online sources including but not limited to YouTube (Bucky C++), Tutorial's Point, Geeks for Geeks and more.

My code is in this link.

Any help here would be greatly appreciated!

1 Answers1

0

In billType.h add declaration of operation void setRoomRent(double charges);

In patientTypeImp.cpp replace void setDisDate(int disDay, int disMth, int disYear) by void patientType::setDisDate(int disDay, int disMth, int disYear)

after you will be able to compile ... then debug


(about link error after previous error fix)

You missed to define void doctorType::setSpeciality(string), it is only declared

just add the probable definition

void doctorType::setSpeciality(string spl)
{
    speciality = spl;
}
bruno
  • 32,421
  • 7
  • 25
  • 37