#include <stdio.h>
#include <stdlib.h>
int
main() {
FILE
*p;
if
((p =
fopen
(
"D:\\myname.txt"
,
"w"
)) == NULL) {
printf
"无法打开此文件\n"
);
exit
(0);
}
fputs
"wuzhenlin"
, p);
puts
return
0;