Hello guys,
I'm coding a program in C using GMP. I wanted to create a dynamic array, that is an array of unknown size. In my project I'll have to store mpz_t integers into this array. How many integers i'll have?? I dont know! how do i go about solving this problem.
I know that mpz_t array[10]; can be done, but I want to initialize and array in which i can keep adding elements, the number of elements can be 1 or xyz.
Thanks in advance,
Rohan.
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/Dynamic-Arrays-tf2363030.html#a6583289">Dynamic Arrays</a><br>
Sent from the <a href="http://www.nabble.com/Gnu---GMP---Discuss-f1661.html">Gnu - GMP - Discuss</a> mailing list archive at Nabble.com.<br>