Category: C++ / MFC / STL
remove – What is does and does not doLike all STL algorithms, remove receives a pair of iterators to identify the range of container elements over which it needs to …
A very basic binary tree implementation in C++ that defines a binary tree node, adds new nodes and prints the tree.Output:
IntroductionIn a previous life I was involved in the design of routing optimization software for the telecoms industry. Finding the least cost route for a traffic demand between communicating network …
Problem OutlineThis I tackled previously when working on the design and implementation of routing optimization algorithms for telecommunications networks. Given that a wide area network with nodes and interconnecting links …
Some notes on how to create a simple Windows Presentation Foundation (WPF) application and get familiar with the Visual C# integrated development environment (IDE). Like Windows Forms applications, WPF applications …
This post assumes that you are working on an existing MFC project and wish to add a tabbed dialog to your application. This example was created in Visual Studio 2008. …
Note: for configuring FLTK in Linux environments, please refer to this post.1. Download and extract FLTKFor this particular install I used an old Visual Studio 2003 .NET version. Get the …
Constructor, destructors and assignment operatorsThere is a rule of thumb in C++ that if a class defines a destructor, constructor and copy assignment operator – then it should explicitly define …
Boost::bind is “able to bind any argument to a specific value or route input arguments into arbitrary positions.” It’s a means of converting a function into an object that can …
Using boost::scoped_arrayWhen we want to dynamically allocate an array of objects for some purpose, the C++ programming language offers us the new and delete operators that are intended to replace …