摘要: Window命令行常量 @echo off echo "取消转义:%%" echo "文件路径:%~0" echo "输入参数:%~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9" echo "文件路径:%~f0" echo "驱动器名:%~d0" echo "无驱路径:%~p0 阅读全文
posted @ 2020-12-18 11:03 echohelper 阅读(491) 评论(0) 推荐(0)
摘要: 声母和韵母 一、bai声母有23个: 1、b、 p 、m、 f 、d 、t、 n、 l 、g、 k 、h 、j、 q 、x 、zh 、ch 、sh、 r、 z、 c 、s 、y 、w。 二、韵母有24个: 1、单韵母是a、o、e、i、u、v。 2、复韵母是ai 、ei、 ui 、ao、 ou、 iu 阅读全文
posted @ 2020-12-15 14:53 echohelper 阅读(15311) 评论(0) 推荐(0)
摘要: SyntaxError: Missing parentheses in call to 'print' 由于python2.X版本与python3.X版本输出方式不同造成的,在python3.X的,输入内容时都要带上括号python()。 而且,错误提示中也有所提示,他给出了括号的形式。 Synta 阅读全文
posted @ 2020-12-08 09:32 echohelper 阅读(498) 评论(0) 推荐(0)
摘要: 软件自动选择独显 用法:在exe程序中,导出其变量。 // http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf // The following 阅读全文
posted @ 2020-12-02 17:39 echohelper 阅读(206) 评论(0) 推荐(0)
摘要: 编译阶段日志打印宏 /*! Helper macros 编译阶段日志打印宏 */ //宏定义 #define Message0(msg) #msg #define Message1(msg) FILE "(" Message0(msg) ") : " #define InfoMessage(msg) 阅读全文
posted @ 2020-12-02 14:49 echohelper 阅读(493) 评论(0) 推荐(0)
摘要: Visual Studio 扩展工具 ClangFormat Code alignment Editor Guidelines File Path On Footer ForceUTF8(with BOM) ForceUTF8 Go To Definition Indent Guides Open 阅读全文
posted @ 2020-11-12 10:11 echohelper 阅读(361) 评论(0) 推荐(0)
摘要: Qt编译提示 error:编译器的堆空间不足 问题原因: Qt添加大量资源文件,编译时会出现内存溢出。 解决方法: 在.pro 文件里面加上语句: CONFIG += resources_big 在该节点 下添加如下: x64 阅读全文
posted @ 2020-11-09 15:48 echohelper 阅读(1958) 评论(0) 推荐(0)
摘要: Git忽略文件写法 middle //忽略 middle 目录 name.user //忽略 name.user 文件 log/* //忽略 目录log中所有文件 common/*.log //忽略 目录common中所有的.log文件 阅读全文
posted @ 2020-11-06 13:58 echohelper 阅读(286) 评论(0) 推荐(0)
摘要: VsCode用法 Vs Code快捷键 选中多行并编辑 Alt+鼠标左键(多点选中) Alt+shift+鼠标左键(初始点的块选中) 阅读全文
posted @ 2020-11-06 11:37 echohelper 阅读(110) 评论(0) 推荐(0)
摘要: 应用程序窗口置前 描述:二次打开exe程序时,直接激活并显示原有程序界面。 QString appName = a.applicationName(); /* 注意编码 */ std::wstring wAppName; = appName.toStdWString(); LPCWSTR lpwAp 阅读全文
posted @ 2020-11-06 10:52 echohelper 阅读(145) 评论(0) 推荐(0)