随笔分类 -  c++

c++ 学习中遇见的问题
摘要:1 概述 chrono 是c++11中的时间库 包含计时,时钟等功能。 2 概念 Time Point 时间点 ratio 时间精度,自定义时间颗粒 Duration 时间段 3 精度 template <intmax_t N,intmat_t D=1> class ratio; 其中 N是分子 D 阅读全文
posted @ 2022-11-27 21:10 北流鱼 阅读(204) 评论(0) 推荐(0) 编辑
摘要:1 下载yaml-cpp git clone https://github.com/jbeder/yaml-cpp.git 2 安装yaml-cpp cd yaml-cpp mkdir build cd build cmake .. make -j 4 sudo make install 3 CMa 阅读全文
posted @ 2022-11-27 21:03 北流鱼 阅读(1015) 评论(0) 推荐(0) 编辑
摘要:1 找不到头文件 但是可以编译 但不能补全代码。 1. 尝试 Tools | Resync with Remote Hosts 若不能解决问题 参考如下面 可能由于远程文件是 引用其他文件不能准确找到文件 2. CTL+SHIFT+A 输入注册 之后 勾选clion.remote.tar.deref 阅读全文
posted @ 2022-11-27 21:02 北流鱼 阅读(1410) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示