摘要: 1 //数据库语句 2 void UMySQL_BPLibrary::MySqlMain_7() 3 { 4 const char* host = "127.0.0.1"; //或者localhost 5 const char* user = "root";//账号 6 const char* pa 阅读全文
posted @ 2021-11-21 17:03 小喜蛋7 阅读(36) 评论(0) 推荐(0) 编辑
摘要: // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Kismet/BlueprintAsyncAc 阅读全文
posted @ 2020-05-23 14:20 小喜蛋7 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-08 22:28 小喜蛋7 阅读(1123) 评论(1) 推荐(0) 编辑
摘要: 举例:暴露出ScrollBox里的鼠标按下和抬起事件 首先在Build.cs中添加两个模块 1 // Uncomment if you are using Slate UI 2 PrivateDependencyModuleNames.AddRange(new string[] { "Slate", 阅读全文
posted @ 2020-04-17 13:52 小喜蛋7 阅读(852) 评论(0) 推荐(0) 编辑
摘要: #include "TimerManager.h" if (!GEngine) return; if (!GEngine->GameViewport) return; UWorld* World = GEngine->GameViewport->GetWorld(); if (!World) ret 阅读全文
posted @ 2020-04-08 14:30 小喜蛋7 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: #include "Misc/FileHelper.h"#include "Paths.h bool AReadTxtFileActor::LoadTextArray(FString FileName, int32& BPM, int32& TimeSignatureLeftNum, int32& 阅读全文
posted @ 2020-04-07 10:51 小喜蛋7 阅读(2204) 评论(0) 推荐(0) 编辑
摘要: int32 RandSeed = FMath::Rand(); int32 SlotIndex = RandSeed % 9; 阅读全文
posted @ 2020-04-07 10:50 小喜蛋7 阅读(172) 评论(0) 推荐(0) 编辑
摘要: #include "pch.h" /* 第三章 处理数据 ** 面向对象编程(OOP)的本质是设计并扩展自己的数据类型 ** 内置的C++类型分类两组:基本类型和复合类型 ** 本章介绍基本类型,即整数和浮点数 3.1 简单变量 ** 程序必须记录3个基本属性 ** 信息将储存在哪里 ** 要存储什么值 ** 存储何种类型的信息 3.1.1 变量名 ** 名称... 阅读全文
posted @ 2019-07-27 15:57 小喜蛋7 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 第二章 开始学习C++ 3 2.1 进入C++ 4 C++能够使用printf()、scanf()和其他所有标准C输入和输出函数,只需要包含常规C语言的stdio.h文件 5 2.1.1 main()函数 6 int main()叫函数头,花括号中包括的部分叫函数体 7 ... 阅读全文
posted @ 2019-07-20 11:02 小喜蛋7 阅读(300) 评论(1) 推荐(1) 编辑