Posts: 8
Threads: 5
Joined: May 2015
Reputation:
0
deleted - found the answer by myself
Posts: 1,954
Threads: 79
Joined: Aug 2009
Reputation:
0
x_job needs to be a string (an array).
new x_job[64] = strtok(cmdtext, idx);
But why the hell would you use strtok when you can use sscanf?