04.06.2014, 16:00
You're not showing enough code. I can assume this is returning 0: strcmp(x_nr,"park",true)
Therefore, none of the code you're showing is being executed.
And strcmp + an if/elseif/elseif/elseif/elseif structure is so wrong. strcmp("a", "b") will return 1, so from then on you'll already know that the first letter is b - you can re-use that information to narrow down the rest of the comparisons and save your code a lot of work.
Therefore, none of the code you're showing is being executed.
And strcmp + an if/elseif/elseif/elseif/elseif structure is so wrong. strcmp("a", "b") will return 1, so from then on you'll already know that the first letter is b - you can re-use that information to narrow down the rest of the comparisons and save your code a lot of work.