12.12.2011, 23:42
Quote:
if(sscanf(params, "s[9]I", szOption)) |
Quote:
if(sscanf(params, "{s[9]}i", iMinutes)) |
the string shouldn't be "start" "stop" and "postpone"?
You must specify the variables to store the 2 parameters.
Anyway wouldn't be much better using only once sscanf function and the use the string array and the time variable in the function instead of recalling sscanf each time?