- 博客(13)
- 收藏
- 关注
原创 windows端口被占用 怎么办
#查询端口 netstat -ano #查询指定端口 netstat -ano | findstr "端口号" #根据进程PID 查询进程名称 taskkill | findstr "进程PID号" #根据进程PID 杀死任务 taskkill /F /PID "进程PID号" #根据进程名称杀死任务 taskkill -f -t -im "进程名称" ...
2022-05-12 20:47:48
185
原创 SpringBoot整合MybatisPlus,yml中配置mybatis.mapperLocations,扫描Mapper.xml
mybatis-plus: mapper-locations: classpath:mapper/*.xml 创建在resources目录下 ->创建mapper目录->创建xxx.xml文件
2022-05-09 21:49:01
3052
原创 选择排序法
#include<stdio.h> void fun (int *str, int len) { for (int i = 0; i < len-1; i++)//比较len-1次 { for (int j = i+1; j < len; j++)//每次比较完后从下一个进行下一次比较 { if (str[i] > str[j]) { int temp = str[j]; str[j] = str[i]; str[i] = tem
2021-06-07 22:22:59
98
原创 数组排序 冒泡排序
关于数组排序 冒泡排序 #include<stdio.h> void fun (int *str, int len) { for (int i = 0; i < len-1; i++) { for (int j = 0; j < len-1-i; j++) { if (str[j] > str[j + 1]) { int temp = str[j]; str[j] = str[j + 1]; str[j + 1] = temp; } } } for (int i = 0; i
2021-06-07 22:05:32
97
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
1