摘要:
// 多生产者多消费者模型 // 需要了解以下概念 // thread 线程 // mutex 互斥锁 // atomic 原子操作 // condition_variable 条件变量 #include <iostream> #include <thread> #include <mutex> # 阅读全文
摘要:
https://zh.cppreference.com/w/cpp/language/operator_precedence 优先级 运算符 描述 结合性 1 :: 作用域解析 从左到右 2 a++ a-- 后缀自增与自减 type( ) type{ } 函数风格转型 a( ) 函数调用 a[ ] 阅读全文
摘要:
https://zh.cppreference.com/w/cpp/language/ascii dec oct hex ch dec oct hex ch dec oct hex ch dec oct hex ch 0 0 00 NUL (空) 32 40 20 (空格) 64 100 40 @ 阅读全文
摘要:
C++ algorithm算法库中各函数的简要使用说明与示例 阅读全文