M
Momo
so if i want to see like if argv[1] is starts with a hyphen (-), do i go like
if (strncmp(argv[1], "-",1)==0)
is this correct to check of argv[1] begins wif a hyphen??
or is there something special for the hyphen
any help will be good
if (strncmp(argv[1], "-",1)==0)
is this correct to check of argv[1] begins wif a hyphen??
or is there something special for the hyphen
any help will be good