How to check did we enter our id ?
#2

All those checks are being used before sscanf assigns a value to id, so really you're just comparing with the value 0. Place the sscanf function at the top right after declaring your variables, then do your checks afterwards.
Reply


Messages In This Thread
How to check did we enter our id ? - by Djumza - 06.04.2014, 16:54
Re: How to check did we enter our id ? - by Corekt - 06.04.2014, 16:58
Re: How to check did we enter our id ? - by Djumza - 06.04.2014, 17:01

Forum Jump:


Users browsing this thread: 1 Guest(s)