#include <stdio.h>
#include <string.h>
3:
int main()
5: {
6: FILE *fp;
'\0'};
int nFileLen;
9:
);
, pathname);
);
13:
);
, txt1);
16: nFileLen = strlen(txt1);
17: fwrite(txt1, nFileLen, 1, fp);
18: fclose(fp);
);
20:
, pathname);
);
23: fread(txt2, nFileLen, 1, fp);
, txt2);
25: fclose(fp);
26:
return 0;
28: }