correcting my last thread...
hi! I want it to let it sound a little more easier to understand!
I recognized that my last question, 'My C-Compiler doesn't like else if' was a little bit... .Let's no longer talk about it ;-)!
the code was something like this:
and so on...
int main(int argc, char *argv)
if (argc < 2 )
else if (argv = "Usageone")
else if (argv = "usagetwo")
When I compiled it, there was no errors or warnings!
When I startet it without arguments, the usage menue was shown like I thought it would happen, but then I was really ... scared about the next move: Checking the other arguments!
if I tried "programm usageone", everything was Ok, if I tried "programm usagetwo" or "programm usagenothing", the programm showed me usageONE! Ok? THIS was realy not the thing I expected! I tried different things, but nothing worked!
Can somebody help me now? Or is the answer the same like my last thread 'My C-Compiler doesn't like else if'? Answer please to email@example.com or this board!
P.S.: This page is the best!