I can see how you might have one class and one 'driver' program, but I don't understand why you would want more than one class.
You could create, of course, a roman numeral class:
class Roman_Numeral
{
public:
Roman_Numeral(const char*);
~Roman_Numeral();
int get_conversion();
char get_numeral();
private:
char numeral;
};
Something like that. It's early in the morning so there could be a few errors in there, but that should get you started. There are many ways of doing this, but that's just my $.02.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
>Thanks for all your help, but think of me as the dumbest student ever because I cannot write a working class for my program.
google + class design c++ ... god speed my friend :(
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439