Design a class called Heading that has data members to hold the company and the report name. A tow-parameter constructor should allow these to be specified at the time a new Heading object is created. If the user creates a Heading object without passing any arguments, "ABC Industries" should be used as default for the company name and "Report should be used as default for the report name.
My problem is that I don't know how to go about doing the last part of the problem where it asks to set the default names for the company and the report. Here is the code I have so far.
#pragma once
#include <iostream>
#include <string>
using namespace std;
PLEASE USE CODE TAGS (the <> formatting button) when posting code. http://v2.cplusplus.com/articles/jEywvCM9/
It makes it easier to read your code and it also makes it easier to respond to your post.