摘要:
#include<iostream>#include<iomanip>#include<string>using namespace std;struct Student{ int num; string name; char sex; int age;};int main(){ Student s 阅读全文
posted @ 2023-04-24 11:59
不会JAVA的小袁
阅读(13)
评论(0)
推荐(0)
摘要:
#include<string>#include<iostream>using namespace std;class ExamInfo{ public: ExamInfo(string name,char grade) :name(name),mode(GRADE),grade(grade){} 阅读全文
posted @ 2023-04-24 11:43
不会JAVA的小袁
阅读(24)
评论(0)
推荐(0)
摘要:
#include<iostream>using namespace std;enum GameResult {WIN,LOSE,TIE,CANCEL};int main(){ GameResult result; enum GameResult omit=CANCEL; for (int count 阅读全文
posted @ 2023-04-24 11:28
不会JAVA的小袁
阅读(18)
评论(0)
推荐(0)