摘要: 看了《C++编程对缓冲区的理解》,自己试了下,结果为大小4KB。#include <fstream>using namespace std;int main(){ ofstream outfile("test.txt"); for (int i = 0; i < 4096; i++) outfile << 'a'; system("PAUSE"); outfile << 'b'; system("PAUSE"); return 0; }在第一次出现“请按任意键继 阅读全文
posted @ 2012-02-06 23:11 SubmarineX 阅读(138) 评论(0) 推荐(0) 编辑