Note
latest
1_算法
2_语言
3_其他
Note
Docs
»
1_算法
»
CCpp
»
<no title>
Edit on GitHub
C&C++ FAQ
函数声明有何意义呢,为什么不直接定义?
C++ How To
1反转字符串
用 cout 打印指针地址
利用 # ifdef 等编译指令切换调试模式
for 循环和 while 循环
C++ 中几种类型相互转换
1.string 转 int 等
2. int 等转换为 string
3. string 转换为 C 字符串
4. C 字符串转换为 string
5. C 字符串转换为 int 等
6. int 等转换为 C 字符串
注:
4 !的优先级
5 迭代器的理解
6 NULL 和 nullptr
7 关于 cin 输入流
8 const 和指针
C++ 派生类中的函数覆盖和重载
1. 通过对象名访问
2. 通过正确类型的指针访问
3. 通过指向派生类对象的基类指针访问
cin cin.get cin.getline getline 的区别
cin.get() istream 流
cin.getline() istream 流
getline() string 流
cin
get 和 getline 的区别。
C 中的内存对齐
一些好的习惯
Handy Function
从两个内存泄漏的例子说起
例一
例二
关于二维 vector 的坑
关于结构体和类的构造函数
关于解除引用运算符的优先级
Read the Docs
v: latest
Versions
latest
Downloads
htmlzip
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.