07 2022 档案

摘要:1 #include <iostream> 2 #include <thread> 3 4 void Func() 5 { 6 std::cout << "hello" << std::endl; 7 } 8 9 int main() 10 { 11 //ok 12 //std::thread tm 阅读全文
posted @ 2022-07-26 14:12 小小林林 阅读(117) 评论(0) 推荐(0) 编辑
摘要:1. 静态类方法只需要在类内部使用static,类方法实现cpp 内不需要在到函数头部增加static。 2. 联合体 可见域范围 1 #include <iostream> 2 3 //文件全局可见性 4 union Opval 5 { 6 double dis; //运动距离 7 double 阅读全文
posted @ 2022-07-20 16:24 小小林林 阅读(37) 评论(0) 推荐(0) 编辑
摘要:1 #include <iostream> 2 3 using namespace std; 4 5 class TInterface1 6 { 7 public: 8 virtual void Sleep() = 0; 9 }; 10 class TInterface2 11 { 12 publi 阅读全文
posted @ 2022-07-19 15:58 小小林林 阅读(67) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示