Default constructor

24.     Develop an object-oriented program in C++ to create a data base of the following items:

name of the patient sex

age

ward number bed number

nature of the illness date of admission

Construct the data base with suitable member functions for initialising and destroying the data, viz. constructor, default constructor, copy constructor, destructor, static member functions, friend class, this pointer, inline code and dynamic memory allocation operators—new and delete.

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

🛡️ Worried About Plagiarism? Run a Free Turnitin Check Today!
Get peace of mind with a 100% AI-Free Report and expert editing assistance.

X