09 2023 档案
摘要:把C语言中的面向过程的线程,在C++中以面向对象的形式进行封装调用。 Thread.h /* * Thread.h * Copyright (C) 2023 zxinlog <zxinlog@126.com> * * Distributed under terms of the MIT licens
阅读全文
摘要:观察者模式,也称发布订阅模式,主题方发布,观察方订阅。 observe.h /* * * Copyright (C) 2023-09-13 14:06 zxinlog <zxinlog@126.com> * */ #include <func.h> #include <iostream> #incl
阅读全文