Quickest problem solution ever.
Thanks!
Type: Posts; User: daedalus703
Quickest problem solution ever.
Thanks!
I am using the GMP multiple precison package.
I need to input very large integers as strings, for example
mpz_init_set_str(x,"1234567890",10)
will set x to that large integer in quotes...
I enclosed the offending case in brackets and it now works.
Thanks guys!
The following piece of code (which will read a number from input.txt, provided of course that you enter 0) will compile and run fine:
#include <iostream.h>
#include <fstream.h>
#include...