Category: C++ / MFC / STL
A posting which I will probably update from time to time that summarizes the conversion functions I encounter in C++. Hope others will find this useful too.32-bit IEEE 754 floating …
IntroductionAn example of how a genetic algorithm can be applied to optimize standard mathematical functions, such as the Rosenbrock function. (Image obtained from the Wikipedia page.)
This post implements a previous post that explains how to convert 32-bit floating point numbers to binary numbers in the IEEE 754 format. What we have is some C++ / …
Brief Introduction C++/CLI (Common Language Infrastructure) was designed to bring C++ to .NET as a means of developing managed code applications. Specifically it helps simplify writing managed code when using …
Following on from the previous post, this example shows an example of how to use an STL multimap to track the line number(s) associated with each word in a text …
This post aims to illustrate the power of using STL’s associative arrays as a word counter. It reads the entire contents of the text file, word-by-word, and keeps a running …
Basic Expression ParsingClick here for advanced expression parsingWhen writing your own calculator it is necessary to build a converter that can transform an input mathematical expression such as ( 1 …
IntroductionDijkstra’s algorithm solves the shortest path problem for a graph with nonnegative edge weights, producing a shortest path tree. This algorithm is often used in routing and as a subroutine …
Programming Tip: Now you can load your essential programming tools such as emulators and IDE`s into the cloud with high performance citrix vdi from CloudDesktopOnline and access it remotely at …
Static classes – what are they?In C#, static classes have one important difference to that of non-static classes: they cannot be instantiated. That is, the new operator cannot be used …