实验

百度图像增强与特效SDK实验——百度代码篇

本次实验是实现一个程序调用百度漫画接口: 下一篇是我自己的窗口代码 百度代码: package 图像; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; ......
特效 图像 代码 SDK

实验5

任务3 #pragma once #include<iostream> #include<string> using std::cout; using std::cin; using std::endl; using std::string; class MachinePets{ public: M ......

实验5

任务3 pets #include <iostream> #include <string> #pragma once using namespace std; class MachinePets { private: string nickname; public: MachinePets(con ......

实验五

任务3 1 #include<iostream> 2 #include<stdlib.h> 3 #include<string> 4 using namespace std; 5 class MachinePets 6 { 7 private: 8 string nickname; 9 public ......

实验5 继承和多态

实验任务3 pets.hpp: 1 # pragma once 2 3 #include <iostream> 4 #include <string> 5 6 using namespace std; 7 8 class MachinePets{ 9 private: 10 string nickn ......

实验五

实验任务3 .hpp #include <iostream>using std::string;class MachinePets { private: string nickname; public: MachinePets(const string s); string get_nickname ......

实验5 继承和多态

实验任务3 1 #include<iostream> 2 #include<string> 3 using namespace std; 4 class MachinePets 5 { 6 private: 7 string nickname; 8 public: 9 MachinePets(con ......

实验五 继承和多态

实验任务1 publisher.hpp #pragma once #include<iostream> #include<string> using std::cout; using std::string; using std::endl; class publisher{ public: pub ......

实验五

task1_1 源码: #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int * ......

实验五

#include <stdio.h> #define N 80 void replace(char *str, char old_char, char new_char); int main() { char text[N] = "c programming is difficult or not, ......

实验5 继承和多态

实验任务1 源代码: #pragma once #include <iostream> #include <string> using std::cout; using std::endl; using std::string; // 发行/出版物类:Publisher (抽象类) class Pu ......

实验五 继承和多态

task3 machinepets.hpp #include<iostream> #include<string> using namespace std; class MachinePets { public: MachinePets(const string s); MachinePets(); ......

实验5

实验任务3 1 #pragma once 2 #include <string> 3 #include <iostream> 4 5 class MachinePets { 6 public: 7 MachinePets(const std::string& s); 8 virtual ~Machi ......

实验五 继承和多态

Task 3:pets.hpp: #include<iostream> #include<string> using namespace std; class MachinePets{ public: MachinePets(const string s):nickname(s){} const s ......

实验五

实验1 功能是分别找到输入数中的最小值和最大值 两者都指向x[0] 功能是找到最大数,返回的是最大数的地址 可以,因为改变之后返回的也是最大值的地址 实验2 s1大小是24个字节,sizeof以字节为单位返回一个变量,表达式或类型的长度, strlen是计算字符串长度的,不包含结尾符号‘\0’ 不能 ......

实验5 C语言指针应用编程

task1.1 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *pmi ......
指针 语言

实验5 继承和多态

实验任务3 #pragma once #include<iostream> #include<string> using namespace std; class MachinePets { public: MachinePets(const string s); string get_nickna ......

实验5

实验任务1: 1.1: 1.功能:寻找到输入的多个数据中最大的和最小的数据 2.指向该数组中的第一项 1.2: 1.返回的是该数组中最大数据的地址 2.不行,算法表达不正确 实验任务2: 2.1: 问题1: 大小:24 计算:数组s1的大小 统计:数组的数据字符串的长度 问题2:不行 表达不正确 2 ......

实验5 继承和多态

实验任务3 pets.hpp #pragma once #include<iostream> #include<string> using namespace std; class MachinePets { private: string nickname; public: MachinePets ......

实验五 继承和多态

任务三 pets.hpp #pragma once #include<iostream> #include<string> using namespace std; class MachinePets { public: MachinePets(const string& nickname = "" ......

实验五 继承和多态

实验任务三 #include <iostream> #include <string> #pragma once using namespace std; class MachinePets { private: string nickname; public: MachinePets(const ......

实验报告

一、实验目的 1.掌握软件开发的基本流程 2.掌握常用的软件开发方式和工具。 二、实验内容 1.设计一个包含登录界面的计算器软件,该软件可以实现第一次作业中的功能,同时可以保存用户的历史计算记录(保存数据最好使用数据库)。 三、实验所用环境及工具 1.使用DW和IDEA编写 2.使用Visio绘制流 ......
报告

实验5 继承和多态

实验任务3 pets.hpp 1 #pragma once 2 3 #include <iostream> 4 #include <string> 5 6 using std::cout; 7 using std::endl; 8 using std::string; 9 10 class Mach ......

实验5 继承和多态

任务3 1 #include<iostream> 2 #include<string> 3 using namespace std; 4 5 class MachinePets { 6 public: 7 MachinePets(const string& s); 8 MachinePets(); ......

实验五 继承和多态

实验任务3: 1.代码: pets.hpp: 1 pragma once 2 3 #include<iostream> 4 #include<string> 5 using std::cout; 6 using std::cin; 7 using std::endl; 8 using std::st ......

实验5 继承和多态

实验任务3 pets.hpp #pragma once #include <iostream> #include <string> using namespace std; class MachinePets{ public: MachinePets(const string s):nickname ......

实验5 继承和多态

实验任务1 publisher.hpp #pragma once #include <iostream> #include <string> using std::cout; using std::endl; using std::string; class Publisher { public: ......

实验五-继承和多态

pets.hpp 1 #ifndef PETS_HPP 2 #define PETS_HPP 3 4 #include <iostream> 5 #include <string> 6 7 class MachinePets { 8 protected: 9 std::string nickname ......

实验5 ———

1.1 找到最大值和最小值 数组 x 的第一个元素 x[0] 的值 1.2 最大值所在元素的地址 不,地址不能交换 2.1 1__23 sizeof(s1) 计算的是数组 s1 在内存中所占用的字节数 strlen(s1) 统计的是字符串 s1 中的字符数 2__不能 未分配地址 3__能 2.2 ......

实验5

任务5: 1 #ifndef_ _DATE_H_ _ 2 #define_ _DATE_H_ _ 3 class Date{ 4 private: 5 int year; 6 int month; 7 int day; 8 int totalDays; 9 public: 10 Date(int y ......