Can you show me what you mean? I don't what you mean. (This is the first time i have actually worked with classes, ive only worked with structs before)
and these are what my class is required to have in it:
o constructor(void) 1/1
o constructor(int a) a/1
o constructor(int a,int

a/b
o void Print(void) print the number in the form a/b
o int Numerator(void) returns the numerator
o int Denominator(void) returns the denominator
o double RealValue(void) returns a/b
o int Ceil(void) returns ceiling of a/b
o int Floor(void) returns floor of a/b
o int Round(void) returns a/b rounded
o bool IsInteger(void) returns true if b = 1 false otherwise
o RationalT Add(RationalT x) returns this + x
o RationalT Sub(RationalT x) returns this - x
o RationalT Multiply(RationalT x) returns this * x
o RationalT Divide(RationalT x) returns this/x
o void SetNumerator(int ) set the numerator part of the number
o void SetDenominator(int) set the denominator part of the number
o void Set(int n, int d) set the numerator to be n, the denominator to be d
This post has been edited by rhouzer: 11 Dec, 2006 - 07:59 PM