t3hseen
March 16th, 2005, 01:20 PM
i need some help with these two functions can anyone please help?
Given the following class:
class Recording{
private:
int tracks;
float tot_time;
char year_issued;
char *Artist;
char *Title;
write accessor and mutator functions for: tracks: cannot be less that zero or greater than 16
year_issued: seen as standard (i.e. 2004) but stored internally as years since 1950 (2004 is 54)
if someone can please help with this i would really appreciate it
Given the following class:
class Recording{
private:
int tracks;
float tot_time;
char year_issued;
char *Artist;
char *Title;
write accessor and mutator functions for: tracks: cannot be less that zero or greater than 16
year_issued: seen as standard (i.e. 2004) but stored internally as years since 1950 (2004 is 54)
if someone can please help with this i would really appreciate it