Category: C++ / MFC / STL
This post takes a look at using boost::bind as a means of calling class member functions in an efficient and generic way. It basically summarizes what has already been said …
1. Install the Boost libraries from the command lineFirst try the following$ sudo apt-get install libboost*You may get an error message similar to the following, like I did:
A quick recipe on how to get started with Qt in Ubuntu Linux using a simple example program.1. Obtain QT4Run these from the command line:
In a nutshell, the factory design pattern enables the practitioner to create objects that share a common theme but without having to specify their exact classes. In essence the factory …
Interfacing Excel in C++ is task that I needed to overcome recently, so I thought I would post some code and instructions on the said topic. Some online articles that …
A summary with code samples of the set operations that come with STL: union, intersection, symmetrical difference and set difference.For consistency, the two sets of integer vectors used in each …
Following on from a previous posting on genetic algorithm based routing optimization, further improvements have been made and the source code has been made available. This software is written using …
A guide to getting started with Windows graphics applications for the very first time. The Windows Graphics Device Interface (GDI) forms the basis of drawing lines and objects, and from …
An introduction to using template classes in C++, that starts extremely simply and builds up from there…
A generic Print functionA way of using STL algorithms combined with template functions as a means of printing the contents of any type of STL container (eg a std::vector), containing …