• 2023-12-13实验四
    task5源代码:1#pragmaonce23#include<iostream>4#include<string>56usingnamespacestd;78classTextCoder{9public:10TextCoder()=default;11TextCoder(stringstr);12stringget_ciphertext(
  • 2023-12-01实验5
    #programonce#include<iostream>#include<string>usingnamespacestd;classTextCoder{private:stringtext;voidencoder();#include"textcoder.hpp"#include<iostream>#include<string>voidtest(){us
  • 2023-12-01实验4
    实验任务5#include<iostream>#include<string>usingnamespacestd;classTextCoder{public:TextCoder()=default;TextCoder(stringstr);stringget_ciphertext();stringget_deciphertext();~TextCoder()=default;private:
  • 2023-12-01实验四
    #programonce#include<iostream>#include<string>usingnamespacestd;classTextCoder{private:stringtext;voidencoder();voiddecoder();public:TextCoder(string&str);stringget_ciphertext();stringget_dec
  • 2023-11-30实验4 现代C++标准库与类模板
    实验任务5textcoder.hpp#programonce#include<iostream>#include<string>usingnamespacestd;classTextCoder{private:stringtext;voidencoder();voiddecoder();public:TextCoder(string&str);stringget_ciphertext(
  • 2023-11-30实验4 现代C++标准库与类模板
    实验任务51#include<iostream>2#include<string>3usingnamespacestd;4classTextCoder5{6public:7TextCoder()=default;8TextCoder(stringstr);9stringget_ciphertext();10stringget_deciphertext();11
  • 2023-11-30实验4
    #include<iostream>#include<string>usingstd::string;classTextCoder{private:stringtext;voidencoder();voiddecoder();public:TextCoder(string&str);TextCoder(constTextCoder&
  • 2023-11-30实验4 现代C++标准库与类模板
    实验任务5task5.cpp#include"Textcoder.hpp"#include<iostream>#include<string>voidtest(){ usingnamespacestd; stringtext,encoded_text,decoded_text; cout<<"输入英文文本:"; while(getline(cin,text)) { encoded_t
  • 2023-11-29实验四 现代C++标准库与类模板
    task5textcoder.hpp#include<iostream>#include<string>usingstd::string;classTextCoder{private:stringtext;voidencoder();voiddecoder();public:TextCoder(string&str);TextCode
  • 2023-11-29实验4
    Textcoder.hpp#include<iostream>#include<string>usingnamespacestd;classTextcoder{public:Textcoder(stringt);stringget_ciphertext();stringget_deciphertext();private:stringtext;voidencoder();voiddeco
  • 2023-11-27实验4 现代C++标准库与类模板
    实验任务5#pragmaonce#include<iostream>#include<string>usingnamespacestd;classTextCoder{public:TextCoder()=default;TextCoder(stringstr);stringget_ciphertext();stringget_deciphertext();~TextCoder()=de
  • 2023-11-27实验4 现代C++标准库与类模板
    实验任务5TextCoder.hpp源码1#include<iostream>2#include<string>34usingstd::string;56classTextCoder{7private:8stringtext;9voidencoder();10voiddecoder();11public:12TextCod
  • 2022-10-26实验三
    info.hpp#pragmaonce#include<iostream>#include<string>usingnamespacestd;classInfo{public:Info(stringnn,stringcont,stringct,intx);vo
  • 2022-10-26实验三
    Task5info.hpp1#pragmaonce2#include<iostream>3#include<string>45usingnamespacestd;67classInfo{8public:9Info(stringnn,str
  • 2022-10-25实验三
    实验五hpp#pragmaonce#include<iostream>#include<iomanip>#include<string>usingnamespacestd;classInfo{public:Info(stringname0,stringcontact0,
  • 2022-10-25实验3 数组、指针与现代C++标准库
    实验任务5:info.hpp文件源码 1#pragmaonce2#include<string>3#include<iostream>4#include<iomanip>5usingnamespacestd;6classinfo{7pub
  • 2022-10-24实验三
    实验3数组、指针与现代c++标准库一、task51.源代码:(1)Info.cpp#include<iostream>#include<string>#include<iomanip>usingnamespacestd;classinfo{public:
  • 2022-10-23实验三
    #include"Info.hpp"#include<iostream>#include<vector>#include<string>#include<iomanip>usingnamespacestd;staticintt=0;constintcapacity=100;
  • 2022-10-23实验3
    实验任务5Info.hpp文件源码#include<iostream>#include<string>#include<iomanip>usingnamespacestd;classInfo{public:Info(stringname,stri
  • 2022-10-23实验三
    #pragmaonce#include<iostream>#include<string>#include<vector>#include<iomanip>usingnamespacestd;classinfo{public:info(stringn1,stringc1,
  • 2022-10-23实验三 数组、指针与现代C++标准库
    实验五代码:Info.hpp1#pragmaonce23#include<iostream>4#include<string>5#include<iomanip>67usingstd::string;8usingstd::cout;9us
  • 2022-10-23实验3 数组、指针与现代C++标准库
    5.实验任务5info.hpp#pragmaonce#include<iostream>#include<string>#include<iomanip>usingstd::string;usingstd::cout;usingstd::endl;classinfo{
  • 2022-10-21实验3
    task5#include<iostream>usingnamespacestd;#include<iomanip>classInfo{private:stringnickname,contact,city;intn;public:Info(string
  • 2022-10-20实验三
    Info.hpp#include<iostream>#include<string>usingnamespacestd;classInfo{public:Info(stringname="",stringcon="",stringci="",intnu=0):ni
  • 2022-10-19实验三
    实验任务5:Info.hpp文件源码:1#include<iostream>2#include<vector>3#include<string>4usingnamespacestd;5classinfo{6private:7stringni