摘要: #include<fstream>#include<iostream>using namespace std;int main(int){ ifstream inf; inf.open("abc.txt"); ofstream outf; outf.open("abc_back.txt"); cha 阅读全文
posted @ 2023-05-17 20:19 不会JAVA的小袁 阅读(8) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>using namespace std;int main(){ int n; cout<<"Input n: "; cin>>n; cout<<"Dec: "<<dec<<n; cout<<" "<<"Oct: "<<oct<<n; cout<<" "<<"Hex 阅读全文
posted @ 2023-05-17 20:08 不会JAVA的小袁 阅读(7) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<fstream>using namespace std;class Dog{ public: int gdoga() { return a; } int gdogw() { return w; } void setdog(int x,int y) 阅读全文
posted @ 2023-05-17 19:59 不会JAVA的小袁 阅读(9) 评论(0) 推荐(0) 编辑