- 博客(2)
- 资源 (4)
- 收藏
- 关注
原创 for初始语句中声明变量的作用域问题
[论坛链接]在for的初始语句中声明的变量,按C++98标准的规定,有效期仅为for循环中,详见ISO-IEC14882:6.5.3 The for statement [stmt.for]3 If the for-init-statement is a declaration, the scope of the name(s) declared extends to the end
2006-02-28 13:29:00 4617
原创 二进制文件 VS 文本文件
Actually, there is no difference. But since text files are often interpreted as such, it is wise to limit the contents to the proper subset. For example: >dir tt1.txt 02/06/2006 07:05p
2006-02-07 15:11:00 3525 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人