Compiling Error
#8

I think I've read a thread few years ago saying that when "cmd" had size of 128 and used strtok, it gave the errors you got. By doing it 256 fixed that - I'm not sure if that's the solution so I strongly recommend you NOT to use strtok. Use sscanf instead. Also dcmd and strcmp are both bad. ZCMD and y_commands are better and very fast! You should really consider of changing them (I'm talking about that awful combination of strtok and strcmp for commands).
Reply


Messages In This Thread
Compiling Error - by stueycow - 27.04.2014, 16:14
Re: Compiling Error - by JeaSon - 27.04.2014, 16:19
Re: Compiling Error - by stueycow - 27.04.2014, 16:31
Re: Compiling Error - by JeaSon - 27.04.2014, 16:33
Re: Compiling Error - by stueycow - 27.04.2014, 16:37
Re: Compiling Error - by JeaSon - 27.04.2014, 16:48
Re: Compiling Error - by stueycow - 27.04.2014, 17:03
Re: Compiling Error - by Konstantinos - 27.04.2014, 17:10
Re: Compiling Error - by stueycow - 27.04.2014, 17:30
Re: Compiling Error - by gtakillerIV - 27.04.2014, 17:35

Forum Jump:


Users browsing this thread: 1 Guest(s)