It's in the FAQ at http://www.cerfnet.com/~mpcline/c++-faq-lite/ > Can anyone tell me how to control the order of calling class constuctors > which occur before the main().