Reputation: 431
I have for example a function as follows:
int func(int a, int b, int c){...}
Now I want to use the GMP library. So how do I have to change the above code? Maybe something like:
int func(mpz_t a, mpz_t b, mpz_t c){...}
Upvotes: 0
Views: 129
Reputation: 970
Take a look at different function types here , and check the sample code for writing a function in GMP library. I hope this answers you question :-
and also check this link for low level functions:-
http://gmplib.org/manual/Low_002dlevel-Functions.html#Low_002dlevel-Functions
Upvotes: 2