
学习笔记
爱学习的小桃心
这个作者很懒,什么都没留下…
展开
-
Python struct.pack(“!dHHHH%ds“%len(self.data),tt,0,self.tap_lenght,self.tap_type,0,_data)里的%ds是什么意思
Python struct.pack("!dHHHH%ds"%len(self.data),tt,0,self.tap_lenght,self.tap_type,0,_data)里的%ds是什么意思原创 2023-02-17 19:23:11 · 226 阅读 · 0 评论 -
在在VS2019里集成QT后编译出错:严重性 代码 说明 项目 文件 行 禁止显示状态错误 C3615 constexpr 函数
在VS2019里集成QT后编译出错:严重性 代码 说明 项目 文件 行 禁止显示状态错误 C3615 constexpr 函数“QAlgorithmsPrivate错误 C3615 constexpr 函数“QAlgorithmsPrivate::qt_builtin_ctz”不能生成常量表达式 (编译源文件 main.cpp),解决后编译出来的程序运行报错:this application failed to start because it could find or load QT platform原创 2021-09-23 19:17:36 · 2892 阅读 · 0 评论 -
C++11 多线程的join()和detach()的理解和实例
先来看看join的官方释义:The function returns when the thread execution has completed.This synchronizes the moment this function returns with the completion of all the operations in the thread: This blocks the execution of the thread that calls this function until th原创 2021-06-12 17:35:08 · 600 阅读 · 0 评论 -
QT调试的时候提示not in executable format:file format not recognized
刚开始学习Qt,在调试程序时提示not in executable format:file format not recognized在查找资料后发现是因为编译器(Compiler)使用了32 位版本的 MSVC,调试器(Debugger)却使用了64 位的 MinGW 的 GDB,从而 GDB 不能调试 32 位程序而报错。解决办法:在 Qt 的 工具 - 选项 - 构建和运行 - Debuggers 选择 CDB(Debugging Tools for Windows),不能自动检测到则手动添原创 2021-05-31 01:13:21 · 6960 阅读 · 0 评论