Hi
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[0] = "logon";
argv[1] = "phpnerd";
argv[2] = "8549256";
Thnx
PHPnerd
(my nick isn't really true )