摘要: #ifndef T_H #define T_H #include <iostream> #include <string> using namespace std; class T { public: T(int x=0,int y=0); T(const T&t); T(T &&t); ~T(); 阅读全文
posted @ 2023-10-23 00:01 49809266 阅读(13) 评论(0) 推荐(0)
摘要: // 标准库string, vector, array基础用法#include <iostream>#include <string>#include <vector>#include <array> // 函数模板// 对满足特定条件的序列类型T对象,使用范围for输出template<typen 阅读全文
posted @ 2023-10-19 22:51 49809266 阅读(15) 评论(0) 推荐(0)
摘要: // 标准库string, vector, array基础用法 #include <iostream> #include <string> #include <vector> #include <array> // 函数模板 // 对满足特定条件的序列类型T对象,使用范围for输出 template 阅读全文
posted @ 2023-10-13 11:13 49809266 阅读(36) 评论(0) 推荐(0)
摘要: #include <stdio.h> 4 int main() 5 { 6 printf(" O \n"); 7 printf("<H>\n"); 8 printf("I I\n"); 9 10 return 0; 11 } 阅读全文
posted @ 2023-10-13 11:08 49809266 阅读(16) 评论(0) 推荐(0)