I'm making an application with a commandline. Not, starting the application with arguments, but a commandline within it.
So, i reseived data with scanf() and i've to check it.
My question: how do i put the command in an array as argv ?
So, that the user sends:
logon phpnerd 8549256
and the fucntions puts that in an array:
argv = "logon";
argv = "phpnerd";
argv = "8549256";
(my nick isn't really true )