上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 59 下一页
摘要: #include <iostream>#include <iomanip>using namespace std;class matrix{private: int row,column; int **mat;public: matrix(const matrix& mx){ this->row=m 阅读全文
posted @ 2023-05-16 20:58 不会JAVA的小袁 阅读(21) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;class Time{ private: int hour; int minute; public: Time(int h=00,int m=00){ hour=h; minute=m; } int friend opera 阅读全文
posted @ 2023-05-16 09:26 不会JAVA的小袁 阅读(45) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;class FS{ private: int fz; int fm; public: FS() { fm=1; fz=0; } void set(int m,int z) { fm=m; fz=z; } void del() 阅读全文
posted @ 2023-05-16 09:15 不会JAVA的小袁 阅读(35) 评论(0) 推荐(0)
摘要: #include<iostream>#include<string>using namespace std;int main(){ string line; cout<<"Type a line terminated by 't'"<<endl; getline(cin,line,'t'); cou 阅读全文
posted @ 2023-05-15 11:57 不会JAVA的小袁 阅读(15) 评论(0) 推荐(0)
摘要: #include<iostream>#include<fstream>using namespace std;int main(){ ifstream file("integers",ios_base::in | ios_base::binary); if(file){ while (file){ 阅读全文
posted @ 2023-05-15 11:49 不会JAVA的小袁 阅读(15) 评论(0) 推荐(0)
摘要: #include<iostream>#include<sstream>#include<string>using namespace std;template<class T>inline T fromString(const string &str){ istringstream is(str); 阅读全文
posted @ 2023-05-15 11:41 不会JAVA的小袁 阅读(13) 评论(0) 推荐(0)
摘要: #include<iostream>#include<fstream>using namespace std;int main(){ int values[]={3,7,0,5,4}; ofstream os("integers",ios_base::out | ios_base::binary); 阅读全文
posted @ 2023-05-15 11:32 不会JAVA的小袁 阅读(16) 评论(0) 推荐(0)
摘要: #include<iostream>#include<fstream>#include<cstring>using namespace std;struct SalaryInfo{ unsigned id; double salary;};int main(){ SalaryInfo employe 阅读全文
posted @ 2023-05-15 11:21 不会JAVA的小袁 阅读(16) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ char ch; while((ch=cin.get()) !=EOF) cout.put(ch); return 0;} 阅读全文
posted @ 2023-05-14 19:55 不会JAVA的小袁 阅读(16) 评论(0) 推荐(0)
摘要: #include<iostream>#include<iomanip>#include<string>using namespace std;template<class T>inline string toString(const T &v){ ostringstream os; os<<v; r 阅读全文
posted @ 2023-05-14 19:52 不会JAVA的小袁 阅读(11) 评论(0) 推荐(0)
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 59 下一页