摘要: Installation $ sudo apt install valgrind Usage $ g++ -g main.cpp -o main # to include debugging information with flag '-g' $ valgrind --leak-check=yes 阅读全文
posted @ 2022-06-14 16:54 hotfengz 阅读(72) 评论(0) 推荐(0)
摘要: 在优麒麟软件镜像站 下载 ukylin-wine_70.6.3.25_amd64.deb 和 ukylin-wechat_3.0.0_amd64.deb 在命令行中输入 $ sudo apt install -f -y ./ukylin* 参考 https://www.ubuntukylin.com 阅读全文
posted @ 2022-05-11 19:05 hotfengz 阅读(406) 评论(0) 推荐(0)
摘要: Download flameshot ~~$ apt install flameshot~~ *The version of installed flameshot will be very low when using above method, we should use the followi 阅读全文
posted @ 2022-04-12 16:38 hotfengz 阅读(78) 评论(0) 推荐(0)
摘要: 安装下面三个软件包 当然也可以只安装texlive-full,但这个包太大了,有很多用不到的子包。 $ sudo apt install latexmk $ sudo apt install texlive-xetex $ sudo apt install texlive-lang-chinese 阅读全文
posted @ 2022-04-10 19:38 hotfengz 阅读(200) 评论(0) 推荐(0)
摘要: 官网操作教程: https://help.mail.163.com/faqDetail.do?code=d7a5dc8471cd0c0e8b4b8f4f8e49998b374173cfe9171305fa1ce630d7f67ac2964258b3f66a6602 阅读全文
posted @ 2022-04-09 10:37 hotfengz 阅读(304) 评论(0) 推荐(0)
摘要: 在vscode的launch.json文件中的添加args选项后,需要选择Run -> Start Debugging 或按 F5进行调试,而不能点击如下图标进行调试。 reference: https://stackoverflow.com/a/69803152/16083372 阅读全文
posted @ 2022-04-08 19:41 hotfengz 阅读(651) 评论(0) 推荐(0)
摘要: 在终端中调试C++代码时,经常需要手动输入文件结束符以终止循环。 while(std::getline(std::cin, line)) { ... } 下面是在各个系统终端中输入文件结束符的方式: 在windows终端中,键入ctrl + Z 在Linux/Mac终端中,键入Ctrl + D 阅读全文
posted @ 2022-04-08 19:20 hotfengz 阅读(793) 评论(0) 推荐(0)
摘要: 在ubuntu中通过 apt 直接安装wxWidgets 开发套件: sudo apt install libwxgtk3.0-gtk3-dev 随后通过wx-config对源文件进行编译: g++ wxDemo.cpp -o wxDemo `wx-config --cxxflags --libs` 阅读全文
posted @ 2022-04-08 19:20 hotfengz 阅读(1095) 评论(0) 推荐(0)
摘要: 打开MSYS2 MINGW 64-bit,安装mingw64编译工具链及wxWidgets库 $ pacman -S mingw-w64-x86_64-toolchain $ pacman -S mingw-w64-x86_64-wxmsw3.1 借助wx-config-3.1工具进行程序编译(注意 阅读全文
posted @ 2022-04-08 19:18 hotfengz 阅读(370) 评论(0) 推荐(0)
摘要: Windows Terminal default setting.json // This file was initially generated by Windows Terminal 1.8.1521.0 // It should still be usable in newer versio 阅读全文
posted @ 2021-08-27 22:59 hotfengz 阅读(88) 评论(0) 推荐(0)