Yes, it is possible, that won't be an actual build-in integer (because for example: 128bit integer you create a class that has 4 32bit int members and operate with that) but with operator overloading you can make it act like an build-in int.
Take a look here: http://en.wikipedia.org/wiki/Bignum there are some links to libraries that implement this so you don't have to implement it yourself.
Last edited by Zlatomir; May 8th, 2010 at 06:03 AM.
Bookmarks