PreProcessor Overloading
While it is simple to overload methods in C++, the preprocessor doesn’t work the same way. To define overloaded methods in the preprocessor, we need to define a method for Continue Reading →
While it is simple to overload methods in C++, the preprocessor doesn’t work the same way. To define overloaded methods in the preprocessor, we need to define a method for Continue Reading →
Debugger Configs for MSVC Provides config files which improve debugging with MSVC. When working with STL containers, smart pointers, and boost signals, it is nice to debug directly into your Continue Reading →
Example for invoking back to the main thread in MFC. Some code, including direct UI updates, needs to run directly on the main application thread. When application code becomes increasingly Continue Reading →
When dealing with inheritance, it is possible that the destructors for our objects may never be called if the class has virtual functions, but the base class has a non-virtual Continue Reading →
When updating your repository password, SourceTree doesn’t completely remove the old password. It will continually try both the new and old passwords automatically in the background when trying to authenticate Continue Reading →
While the Pimpl pattern is commonly used to hide implementation and private methods and variables from public interfaces, the common implementations often require a large amount of boilerplate code. This Continue Reading →
Source, Extra Information, & Further Reading: Mark Heath Setup: Add to .hgrc or mercurial.ini: Convert a Repo:
When trying to connect older Canon printers to newer version of Windows, drivers are often only updated to Windows 8.1 before deprecation. With the same driver model between Windows 10 Continue Reading →
Presented at the Society for Imaging Science and Technology’s Archiving 2017 Conference. To download the software, or for more details on the algorithms, see the For software release notifications, please Continue Reading →
If a query is running really slowly in SQLite immediately after you have performed a large number of inserts, the query optimizer may be out of sync. If you run Continue Reading →