Hello
I apologize if this is a stupid question, as I am pretty new to Root development.
I am trying to split a string using strtok. The same code fragment works outside of root, so i am unsure why this would cause an error.
The troubling lines are:
Char_t line[nBytes];
Char_t* splitedString;
...
fgets(line,(nBytes+1),fp)
...
splitedString = strtok(line," ");
The following error occurs:
Error: strtok param[0] type mismatch readFilesv1.cxx:57: *** Interpreter error recovered ***
Does anybody have an idea how to solve that problem?
Any idea would help.
Background info: I am trying to read an Asci file delimited by spaces.
Cheers,
Hermann
Received on Fri Apr 29 2011 - 16:05:22 CEST
This archive was generated by hypermail 2.2.0 : Fri Apr 29 2011 - 17:50:01 CEST