摘要: 今天讲STL 1的作业 本来以为跟OI重合度蛮高的说 结果全是函数模版 咋回事嘛 所以还是要回去看课件 下面看题 A:goodcopy 描述 编写GoodCopy类模板,使得程序按指定方式输出 #include <iostream> using namespace std; template <cl 阅读全文
posted @ 2025-04-21 14:09 elainafan 阅读(36) 评论(0) 推荐(0)
摘要: 嗨嗨!这篇是在等夜宵的时候敲的 幸好带了电脑 哈哈 怎么说呢 这次上机确实可以说是六次里面最难的,应该是模板这一部分不大熟? 我们不多说,直接看题目吧: 02 编程填空:又见模板 描述 填写代码,按要求输出结果: #include <iostream> #include <string> using 阅读全文
posted @ 2025-04-21 00:12 elainafan 阅读(38) 评论(0) 推荐(0)