S
Shuga
I got a pointer problem, it finishes and takes the previous ma first
element dgt. It is inside a while noempty loop.
if(ma.numdgt > mb.numdgt)
{
a = int(pr1 -> dgt) + carry;
if(((pr1 -> dgt) + carry) > radix)
{
carry = a / radix;
a = a % radix;
}
else carry = 0;
m.append(a);
cout << a << ' ';
}
element dgt. It is inside a while noempty loop.
if(ma.numdgt > mb.numdgt)
{
a = int(pr1 -> dgt) + carry;
if(((pr1 -> dgt) + carry) > radix)
{
carry = a / radix;
a = a % radix;
}
else carry = 0;
m.append(a);
cout << a << ' ';
}