Code:
---------
class Loan
{
private:
double annualInterestRate;
USHORT numberOfYears;
double loanAmount;
LoanList * next;
LoanList * previos;
};
class LoanList
{
private:
LoanList * first;
LoanList * last;
USHORT lastIndex;
USHORT &size;
LoanList * current;
USHORT currentIndex;
Loan * loan;
public:
LoanList();
LoanList * operator[](USHORT offset);
};
---------
Read More...
