I get these errors when trying to compile this class
Code:
class CDAccount
{
public:
CDAccount(float Balance,float MatureBalance,float intrest,int term);//Constructor
CDAccount(); //default constructor
void input(istream& in);
void output(ostream& out);
private:
float Balance;
float MatureBalance;
float intrest;
int term;
};
[Linker error] undefined reference to `CDAccount::CDAccount(float, float, float, int)'
[Linker error] undefined reference to `CDAccount::CDAccount()'
[Linker error] undefined reference to `CDAccount:: output(std:: ostream&)'
Please give me a clue as where i screwed this one up?