1
Reply

How to parse command line arguments in any order

T K

T K

14 years ago
3.6k
Hello,
 Can anyone help on a problem I am stuck with. 
 How do I parse command line arguments in any order, with the number of arguments not always being the same.

console.exe -i 312 -x out.txt -n 512
or
console.exe -x out.txt -i 312 -n 512 -d ";"

Is there any easy way?

Answers (1)