test_outfile.c

来自「an analysis software with souce code for」· C语言 代码 · 共 16 行

C
16
字号
/*Author: Rainer Hegger Last modified: Mar 20, 1999 */#include <stdio.h>#include <stdlib.h>void test_outfile(char *name){  FILE *file;    file=fopen(name,"a");  if (file == NULL) {    fprintf(stderr,"Couldn't open %s for writing. Exiting\n",name);    exit(127);  }  fclose(file);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?