Tags

Recent tweets

Find us on Facebook

The holiday season is always
a good time to reflect on the past. Here I am thinking about a problem that
brought me the "ah-hah" moment last month. Problem While compiling the following C++ program,
you might assume that the objects from the module that is compiled first are
initialized first. This assumption might lead to unexpected results. X.h : #include <string> class CObjet { public: static const string STRINGX; }; X.cpp: #include <X.h> using namespace std; const string CObjet::STRINGX... [More]