自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(8)
  • 收藏
  • 关注

转载 【实验7】 流类库与输入输出

11-3: 1 #include <iostream> 2 #include <fstream> 3 4 using namespace std; 5 6 int main() 7 { 8 ofstream out("test1.txt"); 9 out << "已成功写入文件!" <&...

2018-06-20 20:09:00 325

转载 【实验6】 继承和多态

实验1: 1 #pragma once 2 3 class add 4 { 5 private: 6 int x,y; 7 public: 8 add(int, int); 9 int add_result();10 };11 12 class subtract13 {14 private:15...

2018-06-03 14:12:00 161

转载 大整数加减乘除 - 初代

之前写的,写的不是很好……放在这相当于一个备份……欢迎提意见! 1 #include<iostream> 2 #include<string> 3 #include<cmath> 4 #define N 500 5 using namespace std; 6 7 class num 8 {...

2018-05-22 12:25:00 122

转载 【实验5】类和对象-3

实验1:#include <iostream>#include <vector>#include <string>using namespace std;// 函数声明 void output1(vector<string> &); void output2(vector<string...

2018-05-20 17:11:00 140

转载 【作业4】 类和对象-2

实验内容2// 类graph的实现 #include "graph.h" #include <iostream>using namespace std;// 带参数的构造函数的实现 Graph::Graph(char ch, int n): symbol(ch), size(n) {}// 成员函数draw()的实现// ...

2018-04-22 11:35:00 132

转载 【作业3】

实验1:#include<iostream>using namespace std;class square{ private: float width,length; public: square(float a,float b) { width=a;...

2018-04-07 15:23:00 64

转载 【作业2】

第一题:(1) 1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 char a; 6 cout<<"Menu:A(dd) D(elete) S(ort) Q(uit),Select one:"; 7 while(cin>&g...

2018-03-24 16:42:00 87

转载 【作业1】

12之前是想考虑一下负数的,但发现负数和正数的算法没区别……转载于:https://www.cnblogs.com/rq1b-qsy666/p/8579383.html

2018-03-16 10:52:00 72

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除