阅读背景:

使用fgets和strtok从文件中读取和解析行

来源:互联网 

I'm having trouble with a fairly basic bit of code. I need to read each line from the file shown below, split it up into the 3 parts with strtok, and store each part into an array. The arrays for "goals" and "assists" are working perfectly, but for some reason the entire name array is filled with the last name read from the file.I'm having trouble with a fairly basic bit of c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: