Category: C++ / MFC / STL
A short recipe outlining how to output a SYSTEMTIME value as a std::string.The example format will be “YYYY-MM-DD HH:MM:SS.MMM”I specifically wanted to include milliseconds.In this example I employ three possible …
Examples of using boost::filesystem for various things as and when I encounter them…Many have been lifted from the StackOverflow site.For reasons of brevity and clarity I generally avoid extraneous code …
Step 1: Download and install TinyXMLDownload and extract the library fromhttp://www.grinninglizard.com/tinyxml/TinyXML source files as shown:
A run-through on how to create a editable MFC List Control by making the CListCtrl editable.Visual Studio 2010 project downloadable from here.Much of the credit for this must go to …
BackgroundSHA-256 is a cryptographic hash function developed by the US. National Security Agency (NSA) as a U.S. Federal Information Processing Standard (FIPS). The SHA acronym stands for Secure Hash Algorithm. …
A short and to-the-point C++ recipe for determining the status of your PC / laptop DVD.To study this area in more depth, follow this link for more information, which is …
As stated on the boost.org Getting Started for Windows page, most Boost libraries are header-based that require no separate compilation. But there exist some Boost libraries that require a separate …
Problem descriptionGiven a directed or undirected graph, determine whether it is connected or not. Specifically is it possible for any pair of nodes to communicate with each other?This brief post …
IntroductionThe flow deviation algorithm as developed by Leonard Kleinrock et al is an efficient means of assigning routes and flows for a given network topology so as to minimize the …
A sample demonstration of using the Boost libraries as a means of finding matching words in a large array table, that match the given lookup criteria. Suppose you are wrestling …