Tag: Boost
Some short examples of how to use the Boost property tree in order to read from and write to XML files.Reading XML into a Boost property treeHere’s how to read …
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:
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 …
IntroductionThis post aims to be an accessible introduction to getting set up with the Boost threads in Visual Studio environments for the first time. Like with many technical subjects, there …
Some neat string formattingA pretty neat snippet found on stackoverflow some time ago (kudos David Rodriguez), that is worth repeating. Some time ago, a ‘moderator’ at StackOverflow removed this thread …
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 …
In this guide we will use boost::format, a Boost library requiring no separate compilation. If you do not already have Boost installed, the first task is to download and extract …