摘要:
1 #include <iostream> 2 #include <string> 3 using namespace std; 4 string encoder(string text,int offset)//加密 5 { 6 string encoded_text=text; 7 for(au 阅读全文
摘要:
实验任务2 Person.hpp源码 1 #include <iostream> 2 #include <fstream> 3 #include <vector> 4 #include "Person.hpp" 5 6 int main() 7 { 8 using namespace std; 9 阅读全文
摘要:
实验任务2 基类Graph的成员函数draw()前面不加关键字virtual时 源代码: 1 #include <iostream> 2 #include <typeinfo> 3 /* run this program using the console pauser or add your ow 阅读全文
摘要:
实验任务4 vector_int.hpp 1 #ifndef VECTOR_INT_HPP 2 #define VECTOR_INT_HPP 3 #include <iostream> 4 #include <cassert> 5 using namespace std; 6 class Vecto 阅读全文
摘要:
实验任务5 程序源码 Info.cpp 1 #ifndef INFO_HPP 2 #define INFO_HPP 3 #include <iostream> 4 #include <iomanip> 5 #include <string> 6 using namespace std; 7 clas 阅读全文