Code
- Result:
Success
- / Return code:
0
- / Compilation time: 0.841 seconds
- / Run time: 0.001 seconds
Compilation output:
getopt(args, "v|verbose" , &ret.verbose, "f|file" , &ret.file, "n|number" , &ret.n);
Application output:
MyOptions(false, "abc.txt", 0)
Application arguments:
--file=abc.txt