我在ccs上写了一个函数,是读取文件内数据到数组c并输出
fscanf(fptr,"%[^\n]", c);
printf("读取内容:\n%s", c);
修改了配置,debug后不报错,但是运行了一下没有输出显示。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我在ccs上写了一个函数,是读取文件内数据到数组c并输出
fscanf(fptr,"%[^\n]", c);
printf("读取内容:\n%s", c);
修改了配置,debug后不报错,但是运行了一下没有输出显示。