摘要: 音乐管理器 #include<iostream> #include<string> #include<unistd.h> using namespace std; #define MAX 300 //界面清空函数 void clear() { char buf[1024]={0}; cout<<"请 阅读全文
posted @ 2020-07-29 23:19 归江渡鸟泅白浪 阅读(124) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main() { srand((unsigned int)time(NULL)); int number; number=rand()%100; //生成0~99的数字; int guess_number; in 阅读全文
posted @ 2020-07-29 23:07 归江渡鸟泅白浪 阅读(226) 评论(0) 推荐(0)
摘要: #include<iostream> #include<iomanip> using namespace std; int main() { int flower; int ten; int hundred; int number; int flag=0; for (int i = 1; i < 1 阅读全文
posted @ 2020-07-29 22:35 归江渡鸟泅白浪 阅读(146) 评论(0) 推荐(0)
摘要: #include<iostream> #include<string.h> using namespace std; struct date //结构体可以定义在函数内,但是不能在函数外调用 { int year; int month; int day; }X1,X2,X3; //在没有typede 阅读全文
posted @ 2020-07-29 21:17 归江渡鸟泅白浪 阅读(115) 评论(0) 推荐(0)