52 lines
838 B
C
52 lines
838 B
C
|
#pragma once
|
||
|
|
||
|
// const和static关键字
|
||
|
void ConstAndStatic();
|
||
|
|
||
|
// 很基础的部分
|
||
|
void basic();
|
||
|
|
||
|
// to binary progress
|
||
|
void to_binary_progress();
|
||
|
|
||
|
// C和C++的区别
|
||
|
void DiffBetweenCppAndC();
|
||
|
|
||
|
// memory
|
||
|
void memory_use();
|
||
|
|
||
|
// C++的四个类型转换
|
||
|
void FourTypeConvert();
|
||
|
|
||
|
// 指针和引用的区别
|
||
|
void PointerAndReference();
|
||
|
|
||
|
// volatile 和 extern 关键字
|
||
|
void VolaAndExtern();
|
||
|
|
||
|
// define 和 const
|
||
|
void DefineAndConst();
|
||
|
|
||
|
// 计算类的大小
|
||
|
void CalcClassSize();
|
||
|
|
||
|
// 对象相关
|
||
|
void class_relate();
|
||
|
|
||
|
// 面向对象的三大特性、封装,继承、多态
|
||
|
void EncapInheriAndPolyMorphism();
|
||
|
|
||
|
// lambda 表达式
|
||
|
void Lambda();
|
||
|
|
||
|
// auto 和 decltype
|
||
|
void AutoAndDecltype();
|
||
|
|
||
|
// 静态 assert
|
||
|
void StaticAssert();
|
||
|
|
||
|
// 类型推断和转发
|
||
|
void TypeInferenceAndForwarding();
|
||
|
|
||
|
// 模板相关
|
||
|
void template_relate();
|