因为有字数限制,发不上去,望大神邮件交流。
多谢
#include <stdlib.h>
#include <stdio.h>
int main()
{
FILE *f;
f = fopen("sub_data.txt","w");
fprintf(f,"bbpassword: 123\n"); //用fprintf格式写入到文件。
fflush(f);
fclose(f);
return 0;
}追问
#include <stdio.h>
int main()
{
FILE *f;
f = fopen("sub_data.txt","w");
fprintf(f,"bbpassword: 123\n"); //用fprintf格式写入到文件。
fflush(f);
fclose(f);
return 0;
}追问
可以邮件吗? youngmofei
@foxmail.com
温馨提示:答案为网友推荐,仅供参考