自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 socket文件传输,可以实现传输不同大小的文件(单个)

//服务端 #include <stdio.h> #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> #include <stdlib.h> #include <string.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #inc

2021-08-01 23:24:41 245

原创 简单脚本-

创建一个脚本文件 text.sh 给text.sh加上权限 两种方式 sh text.sh |tee log.txt //运行时 窗口显示运行状态 ./text.sh >>logfile 2>&1 // 运行时,窗口不显示运行状态

2021-07-03 11:04:05 71

原创 贪吃蛇c版

#include<curses.h> #include<stdlib.h> #include<unistd.h> #include<pthread.h> #define UP 1 #define DOWN -1 #define RIGHT 2 #define LEFT -2 struct snack { int heng; int shu; struct snack *next; }; struct snack *head=NULL;

2021-06-05 17:28:03 71

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除