Writing a marker interface in C++

Just figured this out and it caused me about 3 hours of pain, so I figured I’d post it in case I need to do it again. class Base { public: virtual ~Base() {}; }; class Derived : public Base { private: set someSet; public: virtual ~Derived() {}; set getSomeSet() { return someSet; }; }; […]

Setting up GoogleTest in VS 2008

I’m not a huge C++ developer nor a VS wizard, so I thought I would write down how I got GoogleTest setup in a C++ project I’m using VS 2008 for. Download it Add it as an existing project to your solution by right clicking on the “Solution ‘your-project’” part of the Solution Explorer Compile […]