- 博客(4)
- 收藏
- 关注
原创 Server
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h> /* See NOTES */#include <sys/socket.h>#include <sys/stat.h>#include <netinet/in.h>#include <arpa/inet.h>#inclu..
2022-01-25 19:38:44
54
1
原创 GluttonousSnake
运行在 Linux 系统下,基于链表的贪吃蛇游戏。#include <stdio.h>int main(){ return 0;}
2021-11-30 20:49:10
391
原创 20 x 20 map
void map(){ int Xaxis; int Yaxis; // 20 x 20 for(Xaxis = 0;Xaxis <= 21;Xaxis++){ if(Xaxis == 0 || Xaxis == 21){ for(Yaxis = 0;Yaxis < 21;Yaxis++){ ..
2021-11-22 22:40:02
299
原创 ncurses 方向键响应
// vi /usr/include/curses.h 查看方向键宏定义#include <curses.h>int main(){ int key; initscr(); // ncurse 界面的初始化函数 keypad(stdscr,1); // 接收键盘的功能键 while(1){ key = getch(); switch(key){ case KEY_UP: .
2021-11-22 19:53:39
703
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人