the values are not being passed correctly, in my constructor i copy the value of d to decimalNum and the value of b to base. when i run the program the values are 0. what am i doing wrong?:
baseType::baseType(int b, int d)
{
base = b;
decimalNum = d;
}