#ifndef _STDINOUT_H #define _STDINOUT_H // no need to make an instance of this yourself class initializeSTDINOUT { static size_t initnum; public: // Constructor initializeSTDINOUT(); }; // Call the constructor in each compiled file this header is included in // static means the names won't collide static initializeSTDINOUT initializeSTDINOUT_obj; #endif