摘要:
Boy.h: #pragma once #include <string> #include <vector> using namespace std; class Girl; class Boy { public: Boy(); Boy(int age,string name,int salary 阅读全文
posted @ 2022-11-13 20:08
wshidaboss
阅读(48)
评论(0)
推荐(0)
摘要:
1.可以用简单的数据类型作为参数: #include <iostream> #include <vector> using namespace std; int main() { vector<int> data; data.push_back(1); data.push_back(5); for 阅读全文
posted @ 2022-11-13 17:08
wshidaboss
阅读(35)
评论(0)
推荐(0)
浙公网安备 33010602011771号