[mw_shl_code=c,true]#include <stdio.h>
#include <stdlib.h>
int main()
{
char *path=(char *)calloc(256,sizeof(char));
gets(path);
FILE *fp=fopen(path,"w");
fprintf(fp,"你好,欢迎你来到C++的世界");
fclose(fp);
fp=fopen(path,"w");
fprintf(fp,"hello");
fclose(fp);
return 0;
}
[/mw_shl_code] |