4 #include "biginteger.h"
6 int main(int argc
, char* argv
[])
13 BigInteger b
= newBigInteger(argv
[1]);
14 BigInteger b2
= newBigInteger(argv
[2]);
18 printf("Comparing to itself : %d\n", compareBigInt(b
, b
));
20 printf("Comparing to second : %d\n", compareBigInt(b
, b2
));
22 printf("Adding the two together : ");
24 printBigInteger(sumBigInt(b
, b2
));
25 printf("Diff the two :");
26 printBigInteger(diffBigInt(b
, b2
));
28 printf("Multiplication : ");
29 printBigInteger(mulBigInt(b
, b2
));