摘要: #include <stdio.h> #include <string.h> #include<stdlib.h> struct stu { int id; char name[10]; int subnum; char subname[10]; int score; float credit; } 阅读全文
posted @ 2019-09-26 17:34 JackieDYH 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<fstream> #include<cstring> using namespace std; struct st_list { char address[50]; char author[20]; char title[50]; char t 阅读全文
posted @ 2019-09-26 17:27 JackieDYH 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; class a{ public: a() { cout<<"\na\n"; } }; class b{ public: b() { cout<<"\nb\n"; } }; class c{ public: c() { c 阅读全文
posted @ 2019-09-26 17:26 JackieDYH 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; int cheng(int x,int y) { int sum; sum=x*y; return sum; } double cheng(double x,double y) { double sum; sum=x*y 阅读全文
posted @ 2019-09-26 17:18 JackieDYH 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<iomanip> #include<cmath> using namespace std; void input(double * x) { cout<<"0.0<=x<=40.0"<<endl; cin>>*x; } double db(do 阅读全文
posted @ 2019-09-26 17:17 JackieDYH 阅读(6) 评论(0) 推荐(0) 编辑