#include "stdafx.h" #include <stdio.h> class Startup { public: Startup() { printf("Initializing module.\n"); } }; class MyClass { static Startup startup; MyClass(){ } };