hey guys,
I'm trying to search the argument line for a "-c" argument in order to execute a condition in my program. This is the code i've got so far, it does not seem to be working though... any help would be greatly appreciated
ThanksCode:
for (i=0; i <= argc; i++){
if (argv[i] == "-c "){
cpresent = 1;
}