RE: [Dev-C++] How do I store HUGE numbers.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <iv...@em...> - 2003-08-05 18:46:58
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of David McKen > Sent: Tuesday, August 05, 2003 8:06 PM > To: Dev-C++ Users Mailing List > Subject: [Dev-C++] How do I store HUGE numbers. > > > OK boy and girls. > > Other than allocating a block of memory and interpreting > each of the bits myself how can I store really big numbers > (Let's stick with integers for now) in memory. In C++ it is easy, you can create a beautiful class, with defined operator<<(const ostream &, const yout_class &), operator int() etc. In C you will have to make a struct with accompanying access functions. > Signed > David Mcken > > P.S. Also for any of you looking for job security. > http://mindprod.com/unmain.html - How To Write > Unmaintainable Code Hehe, the above is cool. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net |