网站首页 站内搜索

搜索结果

查询Tags标签: TextCoder,共有 12条记录
  • 实验二 数组、指针与C++标准库

    实验任务五: info.hpp#include<string> #include <iostream> using namespace std;class Info{public:Info(string name="xxx",string contact="xxx",string city="xxx",int n=1):nickname(name),contact(contact),city(city)…

    2021/11/5 14:10:41 人评论 次浏览
  • 实验二 数组、指针与C++标准库

    实验任务五: info.hpp#include<string> #include <iostream> using namespace std;class Info{public:Info(string name="xxx",string contact="xxx",string city="xxx",int n=1):nickname(name),contact(contact),city(city)…

    2021/11/5 14:10:41 人评论 次浏览
  • 实验2 数组、指针与C++标准库

    T1: info.hpp1 #include<iostream>2 #include<string>3 #include<iomanip>4 using namespace std;5 class info {6 public:7 info(string nm, string tel, string ct, int n) :nickname(nm), contact(tel), city(ct), n(n) {}8 void print() c…

    2021/11/3 17:42:36 人评论 次浏览
  • 实验2 数组、指针与C++标准库

    T1: info.hpp1 #include<iostream>2 #include<string>3 #include<iomanip>4 using namespace std;5 class info {6 public:7 info(string nm, string tel, string ct, int n) :nickname(nm), contact(tel), city(ct), n(n) {}8 void print() c…

    2021/11/3 17:42:36 人评论 次浏览
  • 实验二 数组 指针与C++标准库

    四 实验结论 (1)实验任务5 1. 源代码如下 Info.hpp#ifndef INFO_HPP #define INFO_HPP//Info 类的定义 #include <iostream> #include <string> #include <iomanip>using namespace std;class Info {public:Info();Info(string nickname0, string con…

    2021/10/31 1:39:38 人评论 次浏览
  • 实验二 数组 指针与C++标准库

    四 实验结论 (1)实验任务5 1. 源代码如下 Info.hpp#ifndef INFO_HPP #define INFO_HPP//Info 类的定义 #include <iostream> #include <string> #include <iomanip>using namespace std;class Info {public:Info();Info(string nickname0, string con…

    2021/10/31 1:39:38 人评论 次浏览
  • 实验二 数组、指针与c++标准库

    实验结论: 实验任务5: Info.hpp#ifndef Info_hpp #define Info_hpp#include<iostream> #include<string> #include<vector> #define capacity 100 using namespace std;class Info {public:Info(string x, string y,string z, int n0):nickname(x),co…

    2021/10/30 11:10:31 人评论 次浏览
  • 实验二 数组、指针与c++标准库

    实验结论: 实验任务5: Info.hpp#ifndef Info_hpp #define Info_hpp#include<iostream> #include<string> #include<vector> #define capacity 100 using namespace std;class Info {public:Info(string x, string y,string z, int n0):nickname(x),co…

    2021/10/30 11:10:31 人评论 次浏览
  • 实验二:数组、指针与C++标准库

    实验五: 以下为Info.cpp文件源码1 #include <string>2 #include <iostream>3 using namespace std;4 class info {5 private:6 string nickname;7 string contact;8 string city;9 int n; 10 static int have; 11 public: 12 info()…

    2021/10/29 11:09:43 人评论 次浏览
  • 实验二:数组、指针与C++标准库

    实验五: 以下为Info.cpp文件源码1 #include <string>2 #include <iostream>3 using namespace std;4 class info {5 private:6 string nickname;7 string contact;8 string city;9 int n; 10 static int have; 11 public: 12 info()…

    2021/10/29 11:09:43 人评论 次浏览
  • 实验二 数组、指针与c++标准库

    TextCoder.hpp#include<string>using namespace std; class TextCoder{public:TextCoder();TextCoder(string text);~TextCoder();string encoder();string decoder();private:string text; };View Code TextCoder.cpp#include "textcoder.hpp" TextCoder…

    2021/10/28 1:09:30 人评论 次浏览
  • 实验二 数组、指针与c++标准库

    TextCoder.hpp#include<string>using namespace std; class TextCoder{public:TextCoder();TextCoder(string text);~TextCoder();string encoder();string decoder();private:string text; };View Code TextCoder.cpp#include "textcoder.hpp" TextCoder…

    2021/10/28 1:09:30 人评论 次浏览
扫一扫关注最新编程教程