摘要: // Copyright Epic Games, Inc. All Rights Reserved. // 版权所有 (c) Epic Games, Inc. 保留所有权利。 #pragma once #include "CoreMinimal.h" #include "UObject/Object 阅读全文
posted @ 2025-02-24 00:01 mcwhirr 阅读(39) 评论(0) 推荐(0)
摘要: // 版权所有(c)Epic Games, Inc. 保留所有权利。 #pragma once #include "CoreMinimal.h" #include "GameplayEffectComponent.generated.h" struct FActiveGameplayEffect; 阅读全文
posted @ 2025-02-19 18:20 mcwhirr 阅读(140) 评论(0) 推荐(0)
摘要: DWORD(双字)和QWORD(四字)是计算机中用于表示数据大小的术语,主要区别在于它们的位数和用途: 1. 位数与组成 DWORD (Double Word) 32位(4字节) 由两个连续的16位“字”(WORD)组成,通常用于32位系统或编程中。 QWORD (Quad Word) 64位(8字 阅读全文
posted @ 2025-02-16 10:32 mcwhirr 阅读(413) 评论(0) 推荐(0)
摘要: 堆栈和堆使用相同的可用内存空间。堆栈从高内存向下增长,堆从低内存向上增长,见上图。当它们重叠时,您将耗尽内存,并且代码将无法按预期运行。 使用方法本地字符串而不是固定的 char[] 基本上只是将一种内存使用类型换成另一种。也就是将字符串堆换成 char[] 堆栈。例如,在 UNO 和 Mega25 阅读全文
posted @ 2025-01-27 00:26 mcwhirr 阅读(645) 评论(0) 推荐(0)
摘要: https://forum.pjrc.com/index.php?threads/ssd1332-and-ssd1331-fast-drivers.25719/ 还没搞明白 回来研究一下 阅读全文
posted @ 2025-01-14 10:55 mcwhirr 阅读(5) 评论(0) 推荐(0)
摘要: #include <Arduino.h> void setup() { // put your setup code here, to run once: Serial.begin(115200); } void loop() { // put your main code here, to run 阅读全文
posted @ 2025-01-14 09:54 mcwhirr 阅读(113) 评论(0) 推荐(0)
摘要: 除了修改 驱动器名称 // Only define one driver, the other ones must be commented out //#define ILI9341_DRIVER // Generic driver for common displays //#define IL 阅读全文
posted @ 2025-01-13 10:22 mcwhirr 阅读(289) 评论(0) 推荐(1)
摘要: 1 #include <QProcess> 2 3 //方法一: 4 QString cmd = "calc"; 5 CalcPro = new QProcess(this); 6 CalcPro->start("cmd", 7 QStringList()<<"/c"<<"calc"); 8 9 / 阅读全文
posted @ 2022-01-10 20:35 mcwhirr 阅读(729) 评论(0) 推荐(0)
摘要: 1 QProcess p(0); 2 p.start("cmd", QStringList()<<"/c"<<"ping www.baidu.com"); 3 p.waitForStarted(); 4 p.waitForFinished(); 5 QString strTemp=QString:: 阅读全文
posted @ 2022-01-10 20:33 mcwhirr 阅读(1951) 评论(0) 推荐(0)
摘要: 简述 QProcess可以用来启动外部程序,并与它们交互。 要启动一个进程,通过调用start()来进行,参数包含程序的名称和命令行参数,参数作为一个QStringList的单个字符串。 另外,也可以使用setProgram()和setArguments()来运行,然后调用start()或open( 阅读全文
posted @ 2022-01-10 20:31 mcwhirr 阅读(2008) 评论(0) 推荐(0)