![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
简单实现
Java、Matlab、C等语言的简单实现
Li.MC
这个作者很懒,什么都没留下…
展开
-
Unity笔记(坑)
Unity笔记(坑)前言UI显示在父层下生成新UI组件在脚本里修改实例属性前言Unity把很多操作封装成图形界面,我觉得要实现拓展性功能不太方便,期间踩了不少坑。UI显示在场景下看ui界面可能会出现比例不对的情况,如下先别急着调整,点击 Game 调整下面的显示比例,再点击 Scene 回去,即可正常显示在父层下生成新UI组件在父层(packPanel)下生成的UI(item_example)才能在该层上点击、操作Instantiate(item_example, packPanel原创 2022-05-03 17:34:45 · 1093 阅读 · 0 评论 -
C语言实现链表的生成、删除、插入
C语言实现链表的生成、删除、插入讲解视频 讲解视频 /* * Author: Mingchong Li * Email: 19726006@bjtu.edu.cn * Date: 2022/1/8 */#include <stdio.h>#include <stdlib.h>/* Define the node * If we原创 2022-01-10 00:34:40 · 584 阅读 · 1 评论 -
C语言打字练习小游戏
C语言打字练习小游戏#include <stdio.h>#include <conio.h>#include <time.h>#include <stdlib.h>#include <windows.h>int getTimeDetail(int index){ time_t timeNow; struct tm *timeType; int year, month, day, hour, min, sec; /* Ge原创 2022-01-10 00:31:13 · 2701 阅读 · 0 评论 -
通过Matlab简单模拟的传染模型
环境设定在一个小城市内:病毒初期不会被发现且具有传染力每个人具有移动力,可能与其他人接触接触感染源则被感染治愈后不会再被传染床位有限,确诊患者不一定能够全部住院初始参数(直接回车则按照预设值模拟):截图:clear;clcwhile 2 S = input('传染范围:(=0时为预设)'); if double(isempty(S)) == 1 | S == 0 %这里不知为何,两个条件顺序不可变 S = 200; P =150;原创 2021-05-02 15:57:34 · 1837 阅读 · 0 评论 -
Java基础名词
memberA field or method of a class. Unless specified otherwise, a member is not static.一个类由域和方法构成。variableAn item of data named by an identifier. Each variable has a type, such as int or Object, and a scope. See also class variable, instance variable,翻译 2021-05-02 11:08:49 · 89 阅读 · 0 评论 -
井字棋游戏 Matlab
用matlab写的井字棋游戏;对手AI的算法按照逻辑判断、标注,选择最优落子点。%initializeclearclcclfB=zeros(3,3);C=zeros(3,3);% circling% chess boardplot([1.5,1.5],[0.5,3.5],'b')hold onplot([2.5,2.5],[0.5,3.5],'b')hold onplot([0.5,3.5],[1.5,1.5],'b')hold onplot([0.5,3.5],[2.5原创 2021-05-02 15:30:08 · 1623 阅读 · 1 评论