The technique of finding permutations also provides source code for the recursive implementation. Also, learn how to use the STL template function next_permutation().
Latest Algorithms & Formulas Articles - Page 11
This algorithm determines a matrix of the shortest distances between every pair of points. (The article was updated.)
Learn about a simple algorithm to find combinations systematically using C++.
Do Gzip compression and decompression in memory as well as allocate and deallocate memory automatically. (The demo project was updated.)
Learn how to do base64 coding and decoding.
Determine when a document has been modified. In the particular case of word processors, most tend to have a "dirty" flag that is set when a user types. This article demonstrates a smarter "dirty" flag that uses probabilistic methods.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Learn more about a few commonly used components and explore their utility and usages.
Cortana is becoming even more pervasive as a tool, not just a toy.
Follow these tips to remember all the finer details that can quickly be forgotten in the zoo of developing a decent application.
Application Programming Interfaces (APIs) are where you have to be. It's not a matter of if as much as a matter of which.