[ad_1]
I’m currently trying to check if the second argument in the Command Line matches the two commands I’m trying to use. I’m trying to check for -r and -f.
Currently, I’m trying this out. 112 and 114 only checks for r and f, but I’m trying to check for -r and -f.:
if (argv[1][1] != 112 || argv[1][1] != 114) {
printf("Error found"); }`
`
[ad_2]