I am writing a program for class and i need help. The instructions say; Design a class called Heading that has data members to hold the company name and the report name. A two-parameter default constructor should allow these to be specified at the time anew Heading object is created. If the user creates a Heading object without passing any arguments , "ABC Industries" should be used as a default value for the company name and "Report" should be used as a default for the report name. The class should have member functions to print a heading. This is due Tuesday by midnight And I have started writing and rewriting this program so much that now I am confused as to what to do.
i added some code to it after you commented but before I saw you comment Avilius. I didn't do it quit like you did but it is starting to look similar to yours.