|
-
March 16th, 2005, 02:20 PM
#1
accessor&mutator functions
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|