I need a little help with a C++ program

I have a multi class program that manually inputs information from users. However it currently stores information for one person at a time. I need to make a vector which i do know how to do. However i do not know how to incorporate that vector into my functions in order to be able to sum totals of refunds and cycle through different refunds for outputs of all refunds.

Also would do you think it would be easier to do a separate function for sums and Largest/Smallest numbers or to include them into already established print function?

Here is a sample of my Main print function

void RefundType::printRefund()
{
cout<<"Company..........: " << Company << endl;
Recipient.printPerson();
cout<<"Date Received (Form) : ";
ReceivedDate.printDate();
cout << "Date Mailed (Refund) : ";
MailedDate.printDate();
cout << "Refund amount........: " << Amount << endl;
cout << "Debit Card Number....: " << CardNumber << endl;
cout << "**************************"<<endl;
}
Here is my Refund Class

class RefundType
{
public:
RefundType();
RefundType(string company, string cardnumber, double amount);
~RefundType();
void setRecipient(string fName, string lName, string Address, string City, string State, string Zip);
void setCompany(string company);
void setCardNumber(string cardnumber);
void setReceivedDate(int month, int day, int year);
void setMailedDate(int month, int day, int year);
void setAmount(double amount);
string getCompany();
string getCardNumber();
DateType getReceivedDate();
DateType getMailedDate();
double getAmount();
double sumRefund();
void printRefund();
private:
PersonType Recipient;
DateType ReceivedDate;
DateType MailedDate;
string Company;
string CardNumber;
double Amount;
};
Topic archived. No new replies allowed.