摘要: uint64_t getCurrentTime(); uint64_t getCurrentTime() { using namespace std::chrono; uint64_t ctime = duration_cast<milliseconds>(system_clock::now().t 阅读全文
posted @ 2022-03-21 18:05 bH1pJ 阅读(89) 评论(0) 推荐(0) 编辑
摘要: main.cpp中如何创建其他的方法? 阅读全文
posted @ 2022-03-21 18:04 bH1pJ 阅读(9) 评论(0) 推荐(0) 编辑
摘要: c++中如何区分按键被按下和弹起来? GetKeyState函数详解_小米的修行之路-程序员资料_getkeystate - 程序员资料 有些高端了; 线索 1、GetKeyboardState function (winuser.h) - Win32 apps | Microsoft Docs 2 阅读全文
posted @ 2022-03-21 18:04 bH1pJ 阅读(62) 评论(0) 推荐(0) 编辑
摘要: c++的extern是什么东西? extern 阅读全文
posted @ 2022-03-21 17:30 bH1pJ 阅读(17) 评论(0) 推荐(0) 编辑
摘要: C++ 数据类型 | 菜鸟教程 阅读全文
posted @ 2022-03-21 16:47 bH1pJ 阅读(7) 评论(0) 推荐(0) 编辑
摘要: % 阅读全文
posted @ 2022-03-21 16:47 bH1pJ 阅读(68) 评论(0) 推荐(0) 编辑
摘要: C++ 字符串格式化 有没有类似python string format函数的写法 坑 阅读全文
posted @ 2022-03-21 15:26 bH1pJ 阅读(40) 评论(0) 推荐(0) 编辑
摘要: win11 clion 编写C++的代码,为什么exe无法执行呢? build之后的exe文件,总是执行不起来; 总是报错:↓ 牛逼了,我的大兄弟: #include <iostream> int main() { system("chcp 65001 > nul"); //解决命令行中的中文编码问 阅读全文
posted @ 2022-03-21 14:29 bH1pJ 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 1、 解决CLion中文乱码问题_weixin_43912367的博客-CSDN博客_clion乱码 并没有解决问题。console中还是乱码; 2、我的console还是有编码问题 #include <iostream> int main() { system("chcp 65001 > nul" 阅读全文
posted @ 2022-03-21 14:24 bH1pJ 阅读(32) 评论(0) 推荐(0) 编辑
摘要: CTRL+ALT+I 自 动缩进 (我主要是找这个功能,其他的没有试过) 查询快捷键 CTRL+N 查找类 CTRL+SHIFT+N 查找文件 CTRL+SHIFT+ALT+N 查 找类中的方法或变量 CIRL+B 找变量的来源 CTRL+ALT+B 找所有的子类 CTRL+SHIFT+B 找变量的 阅读全文
posted @ 2022-03-21 00:36 bH1pJ 阅读(58) 评论(0) 推荐(0) 编辑