橘子味的心
标题: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);
}

目录

分类