From 31dcd2dbdb80efbf11eb993bc05b83e13cde753a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B5=A9=E5=AE=87?= <2431846917@qq.com> Date: Fri, 11 Jan 2019 20:42:55 +0800 Subject: [PATCH] first commit --- shiyan01.cpp | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 shiyan01.cpp diff --git a/shiyan01.cpp b/shiyan01.cpp new file mode 100644 index 0000000..69f6225 --- /dev/null +++ b/shiyan01.cpp @@ -0,0 +1,110 @@ +#include +#include +#include +#include +#define N 10000 + +struct Equipment +{ +char bianhao[20]; +char zhonglei[20]; +char name[20]; +char price[20]; +char buy_date[20]; +char baofei[20]; +}; + + + +struct Equipment equipment[1000]; +int num=0; + + +int Equipment_SearchByBuy_date(char riqi[]) +{ +int i; +for (i=0;i