ah, sh*t...
isn't there any possibility to get variable sized arrays withing msvc ?
Not to my knowledge. In such cases i always assign some (probably oversized) static/auto memory for the most common array sizes and do dynamic allocation for the rest.
best greetings, Thomas