标准C++
whu_gis_jzj
这个作者很懒,什么都没留下…
展开
-
seekg(0,ios::beg)不起作用的原因和解决方法
先看看出问题的代码片段std::string szFileName = dir + "/SymPS.tab"; std::ifstream is; is.open(szFileName.data(),ios_base::in); if(!is.is_open()) return false; std::string message; while(!is.eof()) {原创 2015-01-15 11:39:52 · 10287 阅读 · 0 评论 -
learncpp笔记
Interger使用建议:int can be used when the integer size doesn’t matter and isn’t going to be large.Fixed-width integers should be used in all other cases.Only use unsigned types if you have a compellin翻译 2015-03-18 15:40:16 · 721 阅读 · 0 评论