2 ms·
Mmh, what's so special about this? A C# version is pretty close... int i=0; while(i < args.Length-1 && args[i][0] == `-`) { for (var j=1; j<arg
by d--b 9y ago
Mmh, what's so special about this? A C# version is pretty close...
int i=0;
while(i < args.Length-1 && args[i][0] == `-`) {
for (var j=1; j<args[i].Length; j++) {
switch(args[i][j]) { case `x`: ...
- pjmlp 9y agoThe pointer tricks on argv.