首页 > 其他 > 详细

文件保存读取

时间:2016-01-07 10:15:10      阅读:121      评论:0      收藏:0      [点我收藏+]
FILE * out_fp;
 const char * out_file = "output.bin";
 out_fp = fopen(out_file, "wb" );
 if( out_fp == NULL ){
     printf(" file open failed\n");
     exit(1);
 }
size_t read_size;
size_t reality_size;
if(reality_size!= (read_size = fwrite(model, sizeof(T), read_size, out_fp))){
}

  

 

 

文件保存读取

原文:http://www.cnblogs.com/hansjorn/p/5108715.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!