标签: c
我正在使用fgetc从文件中读取并执行此操作以便我拥有一个字符。但是,我想将此char转换为字符串,以便我可以使用strtok函数。我该怎么做呢?
fgetc
strtok
int xp; while(1) { xp = fgetc(filename); char xpchar = xp; //convert xpchar into a string }