摘要:
#include<iostream>using namespace std;enum Level1{FRESHMAN,SOPHOMORE,JUNIOR,SENIOR};enum Grade{A,B,C,D};class Student{ public: Student(unsigned number 阅读全文
posted @ 2023-04-17 13:08
不会JAVA的小袁
阅读(16)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<string>using namespace std;int main(){ for(int i=0;i<2;i++) { string city,state; getline(cin,city,','); getline(cin,state); 阅读全文
posted @ 2023-04-17 12:43
不会JAVA的小袁
阅读(12)
评论(0)
推荐(0)
摘要:
#include<string>#include<iostream>using namespace std;inline void test(const char *title,bool value){ cout<<title<<"returns"<<(value?"true":"false")<< 阅读全文
posted @ 2023-04-17 12:37
不会JAVA的小袁
阅读(17)
评论(0)
推荐(0)