← 返回列表

C库函数 - tmpfile()

C库函数 - tmpfile() #include <stdio.h> int main () { FILE *fp; fp = tmpfile(); printf("Temporary file created\n"); /* you can use tmp file here */ fclose(fp); return(0); }

C库函数 - tmpfile()

#include <stdio.h>



int main () {

   FILE *fp;



   fp = tmpfile();

   printf("Temporary file created\n");



   /* you can use tmp file here */



   fclose(fp);



   return(0);

}

打开资源 ↗

交流与评论