4 const char* expected_arguments
[] =
9 int main(int argc
, const char* argv
[])
11 const char** a
= argv
+1;
12 const char** e
= expected_arguments
;
14 for(;*a
&& *e
; ++a
, ++e
)
16 if(strcmp(*a
, *e
) != 0)
18 fprintf(stderr
, "Argument [%s] does not match expected [%s].\n",
24 #if defined(CHECK_COMMAND_LINE_VERBOSE)
31 fprintf(stderr
, "Number of arguments does not match expected.\n");
34 printf("Command line escapes work!\n");