E-Male
30th May 2004, 00:27
i got a problem (again) with my current c++ project
i try to use command line parameters, which seemd quite easy with argc and argv[i]
BUT when i try something like this:
if (argv[i]=="abc") ...
it's false, even if the parameters is abc
does anyone know a (simple) way to check if a certain parameter is there?
thx in advance
E-Male
i try to use command line parameters, which seemd quite easy with argc and argv[i]
BUT when i try something like this:
if (argv[i]=="abc") ...
it's false, even if the parameters is abc
does anyone know a (simple) way to check if a certain parameter is there?
thx in advance
E-Male