there are several approaches to this. You can use a class/structure that stores several ordinary integers to represent a huge integer that has sufficient bits to represent the number. You will then have to provide arithmetic functions for the class that perform the appropriate calculations on the numbers. Another approach is to use BCD. In this case you woudl have a class that stores a string that contains the digits represented. Again you would have to write the mathmatical operations or the class. BCD is slower in computation and takes up more memory, however it is easier to program and to use (you can check its value while debugging much more easily) it is also much faster to convert to and from ASCII, so it is faster to enter and display.

continues

continues