Hello.
I have to write small program in C based on liberary GMP (GNU Multi
Precision Aritmetic Liberary).
My program have to add and multiply some big numbers, thats why I have
chosen GMP.
So where is the point?
Here:
it works:
mpz_t table[int][int];
but it doesn't:
mpz_set_si (table[5][5], 3); //digits are of course for example
I can compile my program, but when I want to write something to my table or
even print my table on stdout compiled program causes "Segmentation fault"
error when I try to run it.
My table need to be mpz type.
Can you help me?
ra_v