In this case I will stay with a for loop initialization, I think. However, I still have to check if a simple memset(array[25]...) works with my struct pointers.
I needed this for indexing the elements of a heap. When elements are added to the heap, the indexing array is reallocated if necessary. Then only a part of the array needs to be initialized. This is a rare case though, so a simple loop should do the job too. : )

Thanks for your effort.

// Edit
FYI: http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=244692#Post244692

Last edited by Kombucha; 01/06/09 11:17. Reason: info added