Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

make c program with following required variables

  • Create a static variable to keep track of how may room objects the program creates.
  • Create a friendly class ‘Hallway’ that has access to the members of room.
  • Add a new private member to the room class ‘type’ that is a pointer to char. the room type can be ‘K’, ‘R’ or ‘L’ or ‘B'(Kitchen, Restroom, Bedroom or Living room)
  • Create 2 rooms objects room1 and room2 and assign (memberwise assignment room1=room2)
  • Define a copy constructor that prevent both rooms point at the same char.
  • submit all the code in a file
 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"