Hi
I tried malloc a big chunk of memory and use one pointer and tried with a secondary
buffer2=buffer+numberofelement;
*buffer2 = result;
I got a pointer exception inside this loop,despite I have malloc several megabytes
so I went back what I am used to,declare a huge buffer[] and use buffer[numberofelement]
but I want to learn to get dynamic allocation right