不在浮沙筑高台-demons
C++/OS/disassembly/Anti-virus
posts - 5,  comments - 5,  trackbacks - 0
The standard C++
Container, STL, Algorithm
How to delete the specified line of a file in C++ on CUI condition.      摘要: 答友问 @守伊儿
本文主要讲如何 删除和替换 文件中的指定行的内容
本文是使用标准c++而不是用MFC 中CFile实现
主要涉及到C++文件操作,字符串处理,调整文件指针等  阅读全文
posted @ 2012-05-19 18:08 demons 阅读(2579) | 评论 (0)  编辑
Redirect the stream buffer of cout to a file with ios::rdbuf()      摘要: 本文主题: IO 重定向, 主要分以下三部分:
1. 在c++中如何给io类流重定向.
2. 如何用一个cout 输出整个文件内容.
3. 找出cout ,cin ,cerr 的真身,定义自己的输入输出对象  阅读全文
posted @ 2012-05-11 12:20 demons 阅读(2938) | 评论 (0)  编辑


<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

常用链接

留言簿(1)

随笔分类

随笔档案

文章分类

文章档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜