C++
alittlealone
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++笔记 The IO Library
The IO types are defined in three seperate headers:iostream defines the types used to read and write to a console window;fstream defines the types used to read and write named files;sstream defi原创 2015-01-16 00:01:04 · 429 阅读 · 0 评论 -
C++输出位数控制
这么点简单的东西总是记不清,气死人了,干脆粘贴在这好了#include#includeusing namespace std;int main(){cout//coutcout 3.1415926 coutcoutcout}setw(n)用法: 通俗地讲就是预设宽度如原创 2015-03-07 15:05:44 · 1926 阅读 · 0 评论 -
C++内存管理
原创 2015-06-23 19:48:36 · 361 阅读 · 0 评论 -
C++ const用法
原创 2015-06-23 19:24:03 · 318 阅读 · 0 评论 -
C++数字字符串转换
数字转字符串:#include #include string num2str(int i) { stringstream ss; ss << i; return ss.str();}字符串转数字:#include #include int str2num(string s) { int i; stringstream ss(原创 2015-06-03 11:40:33 · 312 阅读 · 0 评论
分享