自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 FUSE相关资料

1.http://www.voidcn.com/article/p-tvbeqqlm-nw.html2.https://blog.csdn.net/yeruby/article/details/419781993.https://github.com/promovicz/rtos/blob/master/fat/fat16.c4.https://github.com/COSI-Lab/CS4...

2019-06-08 10:33:35 451

原创 KM算法的操作问题汇总

1.要注意公式的下角标啊~2.S时刻在变化,一定记得每次只增加一个点3.在每次选择匹配的时候,都要直接按照可增轨来匹配

2019-01-08 19:43:51 481

转载 2.2棋盘

#include<stdio.h>#include<math.h>int main(){ int cases; char begin[3],end[3]; scanf("%d",&cases); int x,y; while(cases--){ scanf("%s%s",begin,end); ...

2018-07-18 16:23:56 222

转载 小金库—有密码,添账,列单,按日期、ID查询,删除的功能(初始密码为123456,可更改)

#include#include #include //问题:清除小金库进入不了函数,删除记录,新小金库// #includelong size;struct LogData{ long logid;char logdate[11];char lognote[15];double charge; double balance; };

2018-01-24 10:18:18 479

转载 矩阵乘法——可变矩阵

#includeint main(){ int m,s,n,i,j,z; printf("输入3个参数:"); scanf("%d%d%d",&m,&s,&n); int A[100][100]={0},B[100][100]={0},C[100][100]={0}; printf("输入A矩阵数:"); for(i=0;im;i++)

2018-01-24 10:11:20 476

原创 计时——运用循环语句

#include #include #include int main() { clock_t start_t,end_t; start_t=clock(); int hour,minute,second; while(1) { if(getch()==' ') { end_t=clock();

2018-01-24 10:08:42 493

转载 计时——运用goto

#include#include#include#includeint main(){ int hour,minute,second; clock_t startTime,endTime; printf("start\n"); a:startTime=clock(); if(getch( )==' ') { endTime=

2018-01-24 10:06:40 253

转载 寻找100到200的素数

#include #includeint main(){ int m,i,k,h=0,leap=1; printf("\n"); for(m=101;m201;m++) { k=sqrt(m+1); for(i=2;i<=k;i++) { if(m%i==0)leap=0;break;

2018-01-24 10:03:33 265

转载 数字字符串转为相应的浮点数

#include #includedouble atof(char s[]){ double sum,power; int i,sign; for(i=0;isspace(s[i]);i++); sign=(s[i]=='-')?1:-1; if(s[i]=='+'||s[i]=='-')i++; for(sum=0;isdigit(s[i])

2018-01-24 10:00:22 1808

转载 将数字作为字符串打印

#includevoid printed(int n){ if(n0){ putchar('-'); n=-n;} if(n/10)printed(n/10); else putchar(n%10+'0');}int main(){ int n; scanf("%d",&n); printed(n); return

2018-01-20 11:55:04 695 1

转载 结构体输出链表

includeincludedefine LEN sizeof(struct Student)struct Student { long num; float score; struct Student *next; }; int n; struct Student *creat(void) { struct Student *head

2018-01-20 11:40:14 708

转载 结构体指针做函数参数

includeincludedefine N 3int main() { struct Student stu[N]; struct Student *p=stu; void input(struct Student stu[]); struct Student max(struct Student stu[]); void prin

2018-01-20 11:39:34 1474

转载 编写可变参数的函数

#include#includevoid minprintf(char *fmt,...){ va_list ap; char *p,*sval; int ival; double dval; va_start(ap,fmt); for(p=fmt;*p;p++) { if(*p!='%'){

2018-01-20 11:38:41 275

转载 删除文章中的注释

#include int state; int c1,c2; void change_state(int c); int main(int argc, const char * argv[]) { int c; state = 0; c1 = 0; c2 = 0; while ((c=getchar())!=EO

2018-01-20 11:37:27 296

转载 水仙花数

#includeint main(){ int i,j,k,n; printf("water flower numbers are:\n"); for(n=100;n1000;n++) { i=n/100; j=(n/10)%10; k=n%10; if(n==i*i*i+j*j*j+k*k*k)

2018-01-20 11:36:40 187

转载 自己写的有关字符串的库函数

#include #include#includevoid strcpy(char *s,char *t){ while(*s++=*t++); } int strcmp(char *s,char *t){ for(;*s==*t;s++,t++) { if(*s=='\0')return 0; } return *s-*t

2018-01-20 11:36:04 350

转载 c++文件练习1

#include#include#include#includeusing namespace std;int main(){ fstream iofile("seq_data.txt",ios_base::in|ios_base::app); ofstream outfile("seq_base.txt",ios_base::app); int num_tri

2018-01-20 11:33:57 261

空空如也

空空如也

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

TA关注的人

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