码迷,mamicode.com
首页 > 编程语言 > 详细

C语言文件方式输入与输出(最简洁方便实用的一种方式)

时间:2016-11-02 00:31:25      阅读:163      评论:0      收藏:0      [点我收藏+]

标签:stdin   freopen   tput   .com   blog   output   span   txt   方便   

      freopen("inputfile.txt", "r", stdin);
      freopen("outputfile.txt", "w", stdout);

  、、、、、、、、、、、、、、

    fclose(stdin);
    fclose(stdout);
    return   0;

 

 

 

****************************************************************************************************

技术分享

C语言文件方式输入与输出(最简洁方便实用的一种方式)

标签:stdin   freopen   tput   .com   blog   output   span   txt   方便   

原文地址:http://www.cnblogs.com/tk55/p/6021321.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!