|
|
|
 |
Posted 2007-04-23, 12:23 PM
in reply to osmoses-jones's post starting "this what i got so far change it around..."
|
 |
 |
 |
*sigh*
Code:
enum colors{
red,
orange,
yellow,
green,
cyan,
blue,
magenta,
white,
black,
gold,
purple
};
class flag{
public:
flag();
flag(colors color1,colors color2);
void SetFlagColors(colors color1,colors color2);
void SetFlagColors(colors color,int whichColor);
void GetFlagColors(colors& color1,colors& color2);
private:
colors m_color1;
colors m_color2;
}; |
There's the declarations. I'm not going to do your whole assignment for you, however.
|
 |
 |
 |
|
|
|
|
|
|
|