How to check command line arguments in any order
Here is an easy solution to passing parameters to a C++ application from the command line that does not require any external libraries.
Since parameters are read inside a loop, the order in which they are passed is not important.
#include …

