![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c/c++
EvilOctal007
这个作者很懒,什么都没留下…
展开
-
Finate State Machine有限状态机的c语言实现
/* @Author :Simon Lien @Date:2020.04.25 @File: FinateStateMachine.c @GitHub Address:https://github.com/SimonLien/CodeStudyForDataStructure */ #include "stdio.h" #include "windows.h" typedef unsigned...原创 2020-04-25 11:12:32 · 426 阅读 · 0 评论 -
linux常用命令
获取user gid/uid:cat /etc/passwd | grep 你的用户名 修改只读文件:mount -o remount,rw / 挂载:sudo mount -t FighterCNX pcshare 自动挂载:FighterCNX pcshare vboxsf rw,gid=500,uid=500,auto 0 0 ...原创 2019-12-01 22:47:48 · 105 阅读 · 0 评论 -
链表操作--头插法
#include "stdio.h" #include "stdlib.h" typedef struct Node { int data; struct Node* next; }pNodeType; pNodeType* CreateList() { pNodeType* headNode=(pNodeType*)malloc(sizeof(pNode...原创 2019-11-12 20:33:04 · 185 阅读 · 0 评论 -
C编写获取窗口鼠标点击的坐标
源码如下: #include "graphics.h" //基于easy x库实现获取鼠标坐标 #define WindowsWidth 1920 //窗口宽度 #define WindowsHight 1080 //窗口高度 int main() { MOUSEMSG m; TCHAR s[10]; in...原创 2019-06-23 11:16:51 · 4330 阅读 · 0 评论 -
c编写空战游戏
#include "graphics.h" #include "conio.h" #include "stdio.h" #define HEIGHT 20 #define WIDTH 36 #define EnemyNum 5 #define BulletWidth 5 int canvas[HEIGHT][WIDTH]={0}; int Position_x,Position_y; int...原创 2019-07-21 12:37:37 · 1031 阅读 · 0 评论