2020年3月29日
摘要: #include<stdio.h> int main(void){ int a[3][4]={0,1,2,3,4,5,6,7,8,9,10,11}; int (*p)[4]; for(p=a;p<a+3;p++){ (*p)[2]=-1; } p=a; int i,j; for(i=0;i<3;i+ 阅读全文
posted @ 2020-03-29 21:07 ~明月几时有 阅读(3687) 评论(0) 推荐(0)
  2020年3月24日
摘要: #include<iostream> using namespace std; #define ElemType int const int MaxSize=50; typedef struct{ ElemType data[MaxSize]; int front=0,rear=0; }SqQueu 阅读全文
posted @ 2020-03-24 22:18 ~明月几时有 阅读(319) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; #define ElemType int const int MaxSize=50; typedef struct{ ElemType data[MaxSize]; int top=-1; }SqStack; bool 阅读全文
posted @ 2020-03-24 21:44 ~明月几时有 阅读(218) 评论(0) 推荐(0)
摘要: #include <stdio.h> unsigned char rotate(unsigned char number,unsigned char bit); int main(void){ unsigned char number,bit; printf("input a number and 阅读全文
posted @ 2020-03-24 11:36 ~明月几时有 阅读(297) 评论(0) 推荐(0)
摘要: #include<stdio.h> typedef unsigned char uc; uc num; uc rotate(uc num,uc bit){ uc i,high=8; for(i=0;i<bit;i++) if(num&1<<high-1)num=num<<1|1; else num< 阅读全文
posted @ 2020-03-24 11:34 ~明月几时有 阅读(202) 评论(0) 推荐(0)
摘要: #include<stdio.h> #define YES 1 #define NO 0 #define SOLID 0 #define DOTTED 1 #define DASHED 2 #define BLUE 4 #define GREEN 2 #define RED 1 #define BL 阅读全文
posted @ 2020-03-24 11:14 ~明月几时有 阅读(287) 评论(0) 推荐(0)
  2020年3月22日
摘要: #include<iostream> using namespace std; #define ElemType int const int MaxSize=100; typedef struct{ ElemType data[MaxSize]; int length; }SqList; //就地逆 阅读全文
posted @ 2020-03-22 19:13 ~明月几时有 阅读(216) 评论(0) 推荐(0)
  2020年3月21日
摘要: #include<iostream> using namespace std; #define ElemType int const int Maxn=105; int Partition(ElemType A[],int low,int high){ ElemType pivot=A[low]; 阅读全文
posted @ 2020-03-21 16:48 ~明月几时有 阅读(171) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; #define ElemType int const int Maxn=105; void InsertSort(ElemType A[],int n){ int i,j; for(i=2;i<=n;i++){ if(A 阅读全文
posted @ 2020-03-21 15:59 ~明月几时有 阅读(236) 评论(0) 推荐(0)
  2020年3月20日
摘要: 我曾经做过基于Django框架的购物网站,这个项目分为4个功能模块分别是用户模块,商品模块,购物车模块,订单模块用户模块包括用户注册,用户登录,用户退出,用户个人信息显示,收货地址管理等子模块商品模块包括商品主页,商品列表页,商品详情页,商品搜索引擎,FastDFS分布式文件系统等子模块购物车模块包 阅读全文
posted @ 2020-03-20 18:20 ~明月几时有 阅读(792) 评论(0) 推荐(0)