上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: 函数 int fun(int) 函数指针 int (fun)(int) 这里(fun)要绑一起 不然就成了int 返回类型的 fun(int)函数了** 然后重点来了 int (*fuc2(int))(int, int); 这里标记的是什么? 这里比较反常 需要从外向里看更容易看 int (*XXX 阅读全文
posted @ 2025-04-03 18:08 stweily 阅读(29) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/lqqgis/p/17753127.html 阅读全文
posted @ 2025-03-22 10:21 stweily 阅读(53) 评论(0) 推荐(0)
摘要: Ubuntu下查看RK3588 NPU使用情况 watch -n 0.01 sudo cat /sys/kernel/debug/rknpu/load 阅读全文
posted @ 2025-03-20 15:22 stweily 阅读(265) 评论(0) 推荐(0)
摘要: 当每次想到要枚举所以文件夹或路径时,每次都是使用递归 其实有现成API 平时确实没有想到 所以在这里记录一下 API var files = Directory.GetFiles(@"C:\", "*.*",SearchOption.AllDirectories); // 遍历所有文件 var di 阅读全文
posted @ 2025-03-19 08:38 stweily 阅读(58) 评论(0) 推荐(0)
摘要: 禁用任务管理器的 .bat @echo off reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableTaskMgr /t REG_DWORD /d 1 /f e 阅读全文
posted @ 2025-03-15 10:07 stweily 阅读(98) 评论(0) 推荐(0)
摘要: 记录一次VS打开QT项目的过程 直接安装插件,从插件中打开【扩展】-【QT VS TOOLS】 打开.pro -Wno-deprecated-declarations 无效 找到这个的配置直接注释掉 error C2001: 常量中有换行符 发现是因为utf8 不带Bom的编码引起 修改VS中的编码 阅读全文
posted @ 2025-03-10 19:51 stweily 阅读(453) 评论(0) 推荐(0)
摘要: 之前记录了windows的开机自启动,今天记录学习一下Linux开机自启 ① /etc/rc.local 直接在RC.local里增加你的执行的程序,记得在exit 0 前面 ② /etc/init.d 这里存放在许多开机自启脚本(注意设置执行权限可执行权限 chmod +x ) ③ ~/.conf 阅读全文
posted @ 2025-03-03 18:50 stweily 阅读(67) 评论(0) 推荐(0)
摘要: 打开注册表编辑器: 按 Win + R,输入 regedit,然后回车。 导航到以下路径: sql 复制 编辑 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters 添加/修改键值: 右键空白处 → 新建 → DW 阅读全文
posted @ 2025-02-27 10:49 stweily 阅读(105) 评论(0) 推荐(0)
摘要: sudo apt-get update sudo apt-get install qt5-default sudo apt-get install qtcreator sudo apt-get install qtmultimedia5-dev sudo apt-get install libqt5 阅读全文
posted @ 2025-02-21 17:25 stweily 阅读(118) 评论(0) 推荐(0)
摘要: 功能如图 C#代码实现如下 public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); ShowInTaskbar = false; this.Loaded += MainWindow 阅读全文
posted @ 2025-02-21 16:00 stweily 阅读(60) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 14 下一页