Цитата(JAnty @ 7.4.2009, 11:29 ) | какой файл надо прицепить? |
Цитата | To use class cBigNumber in your program do the following:
1. Copy to the project folder the following files: Cbignum.cpp Cbignum.h Cbignumf.cpp Cbignumf.inl Cbignums.cpp (option for stream input-output) Cbignums.h (option for stream input-output) Cios.h (option required for input-output) Ctty.cpp (option for console output) Ctty.h Exarray.cpp Exarray.h Exdebug.h Prime.cpp (option for check of numbers for primality)
2. Include to the project the following files: Cbignum.cpp Cbignumf.cpp Cbignums.cpp (option for stream input-output) Ctty.cpp (option for console output) Exarray.cpp Prime.cpp (option for check of numbers for primality)
NOTE: Optional files for stream and console input-output use C++ stream library which actually exists in two variants: old (iostream.h) and standard (iostream). Old compilers may not include standard library, whereas new compilers produce obsolete warnings for old library or ever do not include it at all, starting from Microsoft Visual C++ 2005. If Microsoft compiler supports both libraries, you must select one of them for the entire project, because this libraries can not be mixed.
By default, the class uses old library, with exception for Microsoft Visual C++ .NET, 2003, 2005, 2008 and higher and also for GNU g++ 3.x, 4,x and higher. To change this default, add to the compiler options appropriate macro: _CIOS_STDSTREAM (use standard library) _CIOS_OLDSTREAM (use old library)
3. Insert into the source text the following directives: #include "Cbignum.h" #include "Cbignums.h" (option for stream input-output)
|
|