08 2024 档案

摘要:// https://www.online-cpp.com/ #include<iostream> using namespace std; int main() { char c1 = '1'; cout << c1 << endl; char *pc2 = new (&c1) char; cou 阅读全文
posted @ 2024-08-08 18:41 joel-q 阅读(3) 评论(1) 推荐(0) 编辑
摘要:#include <iostream> #include <mutex> #include <string> #include <thread> class ThreadLocalSingleton { private: ThreadLocalSingleton() { std::cout << " 阅读全文
posted @ 2024-08-06 14:15 joel-q 阅读(10) 评论(0) 推荐(0) 编辑