摘要:
1.什么是uniqueptr uniqueptr是智能指针的一种,主要用于C++的内存申请和释放,因为C++在申请内存后,要手动进行delete,这样就会出现有时候忘记delete,或者return,break,异常等原因没有执行到delete,如下面的代码所示,new了一个A的对象,要时刻注意de 阅读全文
posted @ 2022-10-27 15:13
一字千金
阅读(3415)
评论(0)
推荐(0)
摘要:
1.QProcess加explorer弹出打开文件夹 1.1打开文件夹,并自动选中目标文件 void HisPicItem::SlotOpenTargetFile(QString strfile) { QString strPicPath = strfile; strPicPath.replace( 阅读全文
posted @ 2022-10-27 14:00
一字千金
阅读(12568)
评论(0)
推荐(0)

浙公网安备 33010602011771号