摘要:
template<typename T, int N> void Print(T value) { for(int i = 0; i < N; i++) cout << value << endl; } using namespace std; int main() { Print<string, 阅读全文
posted @ 2022-04-13 11:13
小小林林
阅读(251)
评论(0)
推荐(0)
摘要:
1 #include <string> 2 3 using namespace std; 4 5 struct Sres 6 { 7 string content; 8 int value; 9 }; 10 11 class BaseABC 12 { 13 public: 14 BaseABC(st 阅读全文
posted @ 2022-04-13 11:07
小小林林
阅读(53)
评论(0)
推荐(0)

浙公网安备 33010602011771号