Category: Tutorials

Maximum Subarray 0

Maximum Subarray

Problem statement: Find the largest sum that is possible in an array. I.e., find the maximum sub-array. Solution: From the very first this problem looks complicated because of how it is framed. It sounds like we want to find the MAXIMUM from ALL THE POSSIBLE sums. To find the maximum...

C++Traits 0

C++ Traits

‘C++ Traits’ is an idiom that allows a great level of abstraction, normally possible only by a combination of inheritance and composition, all at compile time. It allows a class to use any object by relying on its traits, i.e., functions and member variables exposed by that object. What C++...

log4cxx 0

Installing log4cxx on MSYS2/Mingw-w64

[whohit]installing-log4cxx-on-msys2mingw-w64[/whohit] In my previous post, I gave the rather simple steps to install MSYS2/Mingw-w64. Now I will tell you how to install a custom library, specifically log4cxx. Before starting, lets acknowledge that there are other libraries that might fit your logging needs. The installation steps will be similar, though here...

1

Getting GNU compilers on Windows (MSYS2/MinGW-x64/boost/Windows 10)

[whohit]getting-gnu-compilers-on-windows-msys2mingw-x64boostwindows-10[/whohit] Okay… first of all… There are multiple packages and tutorials available for getting one or the other working on Windows 10. This tutorial here teaches how to create a comfortable maintainable compiler environment that can be used for a long time. If you want to skip to the actual...

VSTO installed in VS 2013 Community Edition 0

VSTO for Visual Studio 2013 (works with Community Edition also)

[whohit]vsto-for-visual-studio-2013-works-with-community-edition-also[/whohit] 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 is “cba_bundle.exe“. Download Web Platform Installer (WebPI). File name is “wpilauncher.exe“. This is basically a download manager from Microsoft....

UML Background Dark 0

Practical UML: A Hands-On Introduction for Developers

[whohit]practical-uml-a-hands-on-introduction-for-developers[/whohit] Abstract This tutorial provides a quick introduction to the Unified Modeling Language. The heart of object-oriented problem solving is the construction of a model. The model abstracts the essential details of the underlying problem from its usually complicated real world. Several modeling tools are wrapped under the heading of...