Class Hierarchy Writing Code 3 Classes Plus Main File Three Classes Documentwriter Place S Q37090880

Class Hierarchy

You will be writing code for 3 classes plus a main file. Thethree classes are

  • DocumentWriter
    • Place the specification in DocumentWriter.h and theimplementation in DocumentWriter.cpp
    • This class has three member variables
      • A title which is a string
      • An author which is a string
      • A content which is a string.
        • You may be tempted to make content an array because there aremultiple lines in the data files. Notice, the input filedescription only says that there will be at least one line in thefile, but it doesn’t say the largest number of lines. You have noinformation that you can use to determine the size of
          OR
          OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.