Tag: STL
In C++ the Standard Template Library provides us with std::next_permutation to easily implement this.
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 …
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 …
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 …
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 …
A code snippet with which utilizes both template classes and STL to handle generic data types. In keeping with the spirit of this blog, I have kept the explanation to …
Here’s an example of how using objects (hat-tip: Paul Wolfensberger)
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 …
Just some simple examples posted here as a means of easy lookup…