On 10/10/2010 03:42 AM, Rudolf Mayerhofer wrote:
> I haven't found out how to do this properly yet and i think that i definitely
> need help on that one (like an example) as my skills in C are not that good
> and all i manage to get when trying to allocate the stuff from the heap is a
> segfault.
That's not an excuse to create static structure of arbitrary size.
> I figured that one out, although it took me a while.
No, you didn't. Try again. You duplicated exactly the same code.
Vitaliy.