Friedrich W. H. Kossebau schrieb: > 1. How to set an array of pointers all to 0 most efficiently (mFonts)? #include <algorithm> std::fill_n(mFonts, FontCount, (QFont*)0); or std::fill_n<QFont**,int,QFont*>(mFonts, FontCount, 0); -- Hannes