#include <stdio.h>
#include <stdlib.h>
int main()
{
FILE *fp;
if((fp=fopen("g:\a.txt","wb"))==NULL)
{
printf("
open file error");
getchar();
exit(1);
}
fputs("34234",fp);
fclose(fp);
if((fp=fopen("b.txt","wb"))==NULL)
{
printf("
open file error");
getchar();
exit(1);
}
fclose(fp);
return 0;
}