Multiple companies are selling RO (Reverse Osmosis) based water purifiers these days, and all of them will have some confusing diagram to accompany their product so that you are forced to call...
So you got yourself access to a Debian server (or virtual private server) and have logged into it by one way or the other. In this tutorial, we will learn how to...
A generic factory is a factory that can register any class type. It is very easy to write because we are allowed to use void pointers.
void Register(const std::string _key, const std::function<void *()> _creator)
m_creators[_key] = _creator;
ClassType* Get(const std::string _key) const
return static_cast<ClassType *>(m_creators.at(_key)());
std::map<std::string, std::function<void *()> > m_creators;
Derived1 *d1 = f.Get<Derived1>("Derived1");
Derived2 *d2 = f.Get<Derived2>("Derived2");
Derived1 *d2 = f.Get<Derived1>("Derived2"); // This also compiles!!!
As we are...
Okay… first of all… There are multiple packages and tutorials available to get one or the other working on Windows 10. This tutorial focuses on how to create a comfortable maintainable compiler...
There are two ways to get Microsoft Office Developer Tools/VSTO for Visual Studio 2013: Download Visual Studio Tools for Office that works with Visual Studio 2013. As of today, file to be downloaded...