PACKED BCD for long integers

Can someone help me with a program that do the following:


Develop a class called BigInt (Multiple precision integer)that allow representing big integers

BigInt class should be presented as a chain of character in a packed BCD format
for example: : 39057
(|0|3|9|0|5|7| => |0000|0011|1001|0000|0101|0111|)


use a constructor BigInt
Use operators when needed
= , =+ ,+ ,>,<, - , -= , * , *= , ++v,v++,--v,v--
Last edited on
Topic archived. No new replies allowed.