Question: Practice with Proficiency Demos & Inheritance (10 pts) Practice Proficiency Demo Pay close attention these requirements: No global variables All class interfaces in .h, all

Practice with Proficiency Demos & Inheritance

(10 pts) Practice Proficiency Demo

  1. Pay close attention these requirements:
    • No global variables
    • All class interfaces in .h, all class implementation in .cpp, and a driver.cpp with main
    • All class data members must be private
    • The information in a prototype supplied in the question may not be changed, but you can add
  2. Wait to begin until informed by the TAs
    • You will be given 1 hour from the time the TAs begin
  3. You are encouraged to spend time with designing; use scratch paper
  4. First, open putty.exe or your SSH tool of choice on the computer
  5. Create a directory called test using the command "mkdir lab5"
    • Change into that directory to create and test all of your files, "cd lab5"
    • You must stay in this directory
  6. Begin entering your code using the Linux editor vim (or editor of choice)
  7. You are also allowed to compile, test, and debug your work
  8. You will be given a 10, 7, 4 or 1 for complete, almost complete, needs a bit more work, or no idea
  9. When you are finished, wait for the TA to check you off
    • Show, compile, and run your program for the TA

Class/Main Template/Libraries for Common Built-in Functions

#include  /* cin, cout, endl */ #include  /* srand(), rand(), atoi() */ #include  /* time() */ #include  /* strlen(), strcmp(), strcpy() */ using namespace std; //class interface file, type.h class type { private: //members public: //members }; //class type implementation, type.cpp type::type() { } //driver file to test your class, driver.cpp int main () { srand (time(NULL)); //seed random generator return 0; } 

(5 pts) Begin Inheritance

To earn the last five points of the lab, show your TA that you are making an effort to setting up the inheritance aspects of Program 3 as well as the constructors, accessors, mutators, and Big 3 for the classes. This could be showing all of your .h files being set up in code or showing a thorough design of each class and their relation to each other.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!