- 博客(13)
- 资源 (5)
- 收藏
- 关注
原创 关于yolov8 model()的save参数保存位置的修改
通过修改C:\Users\用户名\AppData\Roaming\Ultralytics\settings.yaml文件可以更改save参数的默认保存位置。
2024-06-15 22:08:07
243
原创 循环队列ADT,C语言实现(代码)
#include <stdlib.h>#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2#define MAXQSIZE 100typedef int QElemType;typedef int Status;typedef struct { QElemType* base; int front; int rear;}S.
2022-04-06 10:01:11
516
1
原创 练习10 学生成绩管理与统计
#include <stdio.h>#include<stdlib.h>#include<string.h>#define LEN sizeof(struct Student)typedef struct Student{ int num; char name[10]; float math; float en; float c; float sum; float aver; struct Student *next;}STU; STU .
2021-12-16 09:51:32
799
原创 iwrite 复制黏贴
#include<windows.h>#include<stdio.h>int main(){ char i; POINT curpos; HWND hWnd; i=getchar(); Sleep(600); while(1) { GetCursorPos(&curpos);//获取当前鼠标的位置,位置将储存在curpos里。 hWnd = WindowFromPoint(curpos);//根据curpos所指的坐标点获取窗口句柄 Sen.
2021-12-16 07:38:24
1005
原创 作业三 学生成绩管理系统
#include<stdio.h>#include<stdlib.h>#include<string.h>#include<windows.h>#define LEN sizeof(struct Chain)struct Chain{ int num; char name[8]; float course1; float course2; float course3; struct Chain *next;};int n;s.
2021-12-12 11:16:25
3641
原创 练习9(3)数组移动
#include<stdio.h>#define LEN 10void sort(int num,int arr[]){ int i,j,t; for(i=LEN-num;i<LEN;i++) { t=arr[i]; for(j=i;j>0;j--) { arr[j]=arr[j-1]; } arr[j]=t; } for(i=0,j=num-1;i<j;i++,j--) { t=arr[i]; arr[i]=arr[j];.
2021-12-11 09:38:36
524
原创 练习8(3)图书管理系统
#include<stdio.h>#include<string.h>struct Book{ int num; char name[30]; char author[10]; int price;}book[10];void input(){ int j; for(j=0;j<10;j++) { printf("请输入书号 书名 作者 价格\n"); scanf("%d %s %s %d",&book[j].num ,&.
2021-12-09 10:05:57
343
原创 练习6 (3)删除重复字符
#include<stdio.h>int main(){ int i,j,s; char str[100]; scanf("%s",str); for(i=0;str[i]!='\0';i++) { for(j=i+1;str[j]!='\0';j++) { if(str[i]==str[j]) { for(s=j;str[s]!='\0';s++) str[s]=str[s+1]; j--; } } } printf(.
2021-11-27 14:37:51
425
原创 练习6 (2)矩阵位置转换
#include<stdio.h>int main(){ int a[3][3]={{1,2,3}, {4,5,6}, {7,8,9}}; int b[3][3]; int i,j; for(i=0;i<3;i++) { for(j=0;j<2;j++) { b[i][j+1]=a[i][j]; } b[i][0]=a[i][j]; } for(i=0;i<3;i++) { for(j=0;j<.
2021-11-25 09:28:49
669
原创 练习6 (1)数组合并
#include<stdio.h>int main(){ int a[5]={1,3,6,9,12},b[5]={2,5,7,10,15}; int c[10]; int i,j; for(i=0,j=0;i<10;i=i+2,j++) { c[i]=a[j]; c[i+1]=b[j]; } for(i=0;i<10;i++) printf("%d ",c[i]); return 0;}
2021-11-25 08:56:40
143
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人