网站首页 站内搜索

搜索结果

查询Tags标签: Player,共有 123条记录
  • 实验五

    Person.hpp#ifndef Person_HPP #define Person_HPP #include <iostream> #include<string> #include<iomanip>//使用std命名空间 using std::cout; using std::endl; using std::ostream; using std::istream; using std::string; using std::left; us…

    2021/12/14 23:16:56 人评论 次浏览
  • 实验五

    Person.hpp#ifndef Person_HPP #define Person_HPP #include <iostream> #include<string> #include<iomanip>//使用std命名空间 using std::cout; using std::endl; using std::ostream; using std::istream; using std::string; using std::left; us…

    2021/12/14 23:16:56 人评论 次浏览
  • 对象突然想玩坦克大战,我用Python三十分钟实现,看,他开心的像个der一样

    导语 今天是回忆童年的一天,文章游戏代码的话小编写了蛮多还,等啥时候有时间了我整理下笔记归类放着!! 《坦克大战》当年算是红遍大江南北的热门游戏。别看这游戏画面简陋,它可是集合了所有经典游戏的成功要素—— 上手容易、升级强化、关卡丰富、可以双打,甚至还有…

    2021/12/12 9:46:52 人评论 次浏览
  • 对象突然想玩坦克大战,我用Python三十分钟实现,看,他开心的像个der一样

    导语 今天是回忆童年的一天,文章游戏代码的话小编写了蛮多还,等啥时候有时间了我整理下笔记归类放着!! 《坦克大战》当年算是红遍大江南北的热门游戏。别看这游戏画面简陋,它可是集合了所有经典游戏的成功要素—— 上手容易、升级强化、关卡丰富、可以双打,甚至还有…

    2021/12/12 9:46:52 人评论 次浏览
  • 实验5 模板类与多态

    四、实验结论 1.实验任务1 验证性内容。 2.实验任务2给出Person.hpp源码和task2.cpp源码 Person.hpp #include <iostream> #include <iomanip> using namespace std;class Person { public:Person(){};Person(string name0, string telephone0, string email0…

    2021/12/11 23:18:03 人评论 次浏览
  • 实验5 模板类与多态

    四、实验结论 1.实验任务1 验证性内容。 2.实验任务2给出Person.hpp源码和task2.cpp源码 Person.hpp #include <iostream> #include <iomanip> using namespace std;class Person { public:Person(){};Person(string name0, string telephone0, string email0…

    2021/12/11 23:18:03 人评论 次浏览
  • 实验5 模板类与多态

    三、实验内容 2. 实验任务2 Person.hpp:#ifndef PERSON_HPP #define PERSON_HPP#include<iostream>using namespace std;class Person{private:string name,telephone,email;public:Person() {}~Person() {}Person(string a,string b, string c=""): name…

    2021/12/11 23:16:53 人评论 次浏览
  • 实验5 模板类与多态

    三、实验内容 2. 实验任务2 Person.hpp:#ifndef PERSON_HPP #define PERSON_HPP#include<iostream>using namespace std;class Person{private:string name,telephone,email;public:Person() {}~Person() {}Person(string a,string b, string c=""): name…

    2021/12/11 23:16:53 人评论 次浏览
  • 面向对象->实验报告五(C++)

    task2题目要求源码 main.cpp #include <iostream> #include <fstream> #include <vector> #include "Person.hpp"int main() {using namespace std;vector<Person> phone_book;Person p;while(cin>>p)phone_book.push_back(p);fo…

    2021/12/11 22:17:04 人评论 次浏览
  • 面向对象->实验报告五(C++)

    task2题目要求源码 main.cpp #include <iostream> #include <fstream> #include <vector> #include "Person.hpp"int main() {using namespace std;vector<Person> phone_book;Person p;while(cin>>p)phone_book.push_back(p);fo…

    2021/12/11 22:17:04 人评论 次浏览
  • Nebula Graph数据库的简单查询

    数据来源 这里使用的数据数据是使用 Nebula Console 创建的测试数据 nebula> :play nbahttps://docs.nebula-graph.com.cn/2.6.1/2.quick-start/3.connect-to-nebula-graph/#_3 数据结构 > show tags +------------+ | Name | +------------+ | "bachelo…

    2021/12/11 2:17:56 人评论 次浏览
  • Nebula Graph数据库的简单查询

    数据来源 这里使用的数据数据是使用 Nebula Console 创建的测试数据 nebula> :play nbahttps://docs.nebula-graph.com.cn/2.6.1/2.quick-start/3.connect-to-nebula-graph/#_3 数据结构 > show tags +------------+ | Name | +------------+ | "bachelo…

    2021/12/11 2:17:56 人评论 次浏览
  • Java学习——项目中的异常处理

    好多的东西学习的还是太浅了,把各个异常好像都体验了一遍。文章目录 1.NullPointerException2.ArrayIndexOutOfBoundsException1.NullPointerException 遇到的最多的错误。用debug一步一步的跳转排除,有时可能是括号加错了位置,可能是调错了方法中的参数,所以在书写的…

    2021/12/8 22:17:24 人评论 次浏览
  • Java学习——项目中的异常处理

    好多的东西学习的还是太浅了,把各个异常好像都体验了一遍。文章目录 1.NullPointerException2.ArrayIndexOutOfBoundsException1.NullPointerException 遇到的最多的错误。用debug一步一步的跳转排除,有时可能是括号加错了位置,可能是调错了方法中的参数,所以在书写的…

    2021/12/8 22:17:24 人评论 次浏览
  • Python中的设计模式

    设计模式 单例模式单例模式 使用类名()创建对象时,解释器默认调用类的__new__()方法为其分配内存,并返回对象的引用解释器获得对象的引用后,会将其传给__init__()的self参数,执行初始化动作单例:重写__new__()方法 + 只执行一次初始化动作 class Player(object…

    2021/11/28 20:44:14 人评论 次浏览
扫一扫关注最新编程教程