Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
FAQ.
Because I want to give both the general or 'best' solution, as well as the solution best readable for beginners. I always state which solution is recommended in most situations.
For example, the function Triple has the following general or 'best' solution:
#include <algorithm> |
For a beginner this solution is hard to contain. Therefore, I also give the solution best readable for beginners below:
#include <vector> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.