1
Answer

How to parse command line arguments in any order

T K

T K

14y
3.6k
1
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)