- 博客(12)
- 收藏
- 关注
原创 ue4如何调试想调试的函数
由于ue4的编译优化,在development Editor模式下想调试指定函数的话,会发现无法进入断点,此时可以在对应的函数中添加一句 GEngine->AddOnScreenDebugMessage,就可以进入...
2019-08-24 23:18:43
1936
原创 ue4当点击UI界面时,鼠标会消失不见
点击上图中的,打开关卡蓝图,在编辑器中,新增“Get Player Controller”,调用SetMouseCursor,勾选checkBox,
2019-08-19 21:21:32
5884
原创 ue4添加bp_sky_Sphere
ue4添加蓝图天空盒,首先在内容浏览器中-》视图选项-》勾选显示引擎内容,在引擎内容中找到EngineSky文件夹,之后就找到了
2019-08-19 21:17:03
7028
3
原创 数学表达式解析器实现(Evaluate mathematical expression)
Instructions Given a mathematical expression as a string you mustreturn the result as a number.Numbers Number may be both whole numbers and/or decimal numbers. Thesame goes for the returned result...
2019-08-17 14:54:48
1402
原创 Divide integers as strings
Given positive integers a and b as strings, evaluate a / b and returnthe quotient and the remainder as strings in the form [quotient,remainder] (vector {quotient, remainder} in C++).a and b can be...
2019-08-14 22:37:55
246
原创 Rail Fence Cipher: Encoding and Decoding
Create two functions to encode and then decode a string using the RailFence Cipher. This cipher is used to encode a string by placing eachcharacter successively in a diagonal along a set of “rails”...
2019-08-13 20:39:03
1480
原创 A*算法的简单实现
#include <iostream>#include <string>#include <vector>#include <algorithm>#include <math.h>using namespace std;class CPoint{public: CPoint() { m_row = 0; m_c...
2019-08-10 15:22:14
169
原创 Square into Squares. Protect trees!
My little sister came back home from school with the following task:given a squared sheet of paper she has to cut it in pieces which, whenassembled, give squares the sides of which form an increasi...
2019-08-10 15:20:27
447
原创 虚幻4蓝图各颜色代表的含义
虚幻4蓝图各颜色代表的含义白色线条--------------执行线,表示程序的执行流程.红色----------------BOOL变量青色---------------------Integer整型变量绿色-----------------------Float浮点型变量洋红色-----------------------字符串变量粉色-----------------------...
2019-08-08 21:01:35
4405
1
原创 Longest Common Subsequence (Performance version)翻译(最长公共子序列(性能版本))
codewars第29题 最长的共同子序列(LCS)问题是找到一组序列中所有序列共有的最长子序列的问题。它不同于寻找共同子串的问题:与子串不同,子序列不需要占据原始序列内的连续位置。任务编写一个lcs接受两个strings 的函数,并返回它们最长的公共子序列.例如: &n...
2019-08-08 20:47:15
266
原创 在codewars的第30题
在codewars的第30题Loading Kata: Validate Credit Card Number给定最多16位数的正整数,true如果它是有效的信用卡号,false则返回,如果不是,则返回。1.从右边第二个数字开始,每隔一个数字 *2,2.轮询每个数字如果大于9则减去93.计算每个数字之和4.判断数字之和是否能被10整除.#include <algorithm&g...
2019-08-08 20:24:26
252
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人