随笔分类 - RxCpp
记录RxCpp学习的过程
摘要:在项目中我们经常要用到定时器,RxCpp的interval可以方便地用来构造定时任务。 int main(int argc, char const *argv[]) { std::cout << "main thread id:" << std::this_thread::get_id() << s
阅读全文
摘要:安装 ReactiveX/RxCpp: Reactive Extensions for C++ (github.com) 在github下载源码,源码都是头文件,将 ~/Rx/v2/src/rxcpp 整个目录拷贝到工程目录,应用中包含头文件即可,无需编译库文件。 第一个程序 #include <i
阅读全文

浙公网安备 33010602011771号