随笔分类 -  c++杂记

摘要:### 用途 `#pragma GCC diagnostic push`:用于记录当前的诊断状态 `#pragma GCC diagnostic pop`:用于恢复诊断状态 ### 用法 ```cpp #pragma GCC diagnostic push #pragma GCC diagnosti 阅读全文
posted @ 2023-08-21 10:11 lixycc 阅读(459) 评论(0) 推荐(0)
摘要:一、random_device 类 class random_device { public: typedef unsigned int result_type; // constructor 构造函数 explicit random_device(const std::string& token 阅读全文
posted @ 2023-05-05 22:52 lixycc 阅读(539) 评论(0) 推荐(0)