c 读写excel

FILE *fp = NULL;   fp = fopen("F:\\testIpark2.xls", "a"); fprintf(fp, "%f\t%f\n", motorPmsm.Ualfa, motorPmsm.Ubeta); fclose(fp);   a:追加读写 字符串 说明 r 以只读方式打开文件,该文件必须存在。 r+ 以读/写方式打开文件,该文件必须存在。 rb+ 以读/写方式打
相关文章
相关标签/搜索