I am tring to build a program that deals with large numbers of 600+ digits, I know that I could not store these in an integer or even an unsigned long long, so I tried to use malloc() with the following syntax:
The 2048 bits are just a test value, as is the function of the program (just to find out if I can use arithmetic on malloc() variables).
int *a = malloc(2048);
int *b = malloc(2048);
int *c = malloc(2048);
c=a/b; //This is where it fails on compile
printf("%i /n", c);
The compiler complains of 'Invalid Operands to 'binary''
Any ideas on how to solve this would be very helpful, I am using Dev C++ with the C compiler function.
Thanks in advance!