会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
风之领域
博客园
首页
新随笔
联系
订阅
管理
2009年6月26日
读取文件尾标记
摘要: //>>和get()都可以读取文件尾标记#include <iostream>#include <fstream>using namespace std;int main(){ifstream fin;int index=0;char temp;fin.open("ss.txt");if(fin.fail()){cout<<"Input file o...
阅读全文
posted @ 2009-06-26 19:31 风之领域
阅读(186)
评论(0)
推荐(0)
编辑
公告