摘要: 实验任务1 1 assume cs:code, ds:data 2 3 data segment 4 x dw 1020h, 2240h, 9522h, 5060h, 3359h, 6652h, 2530h, 7031h 5 y dw 3210h, 5510h, 6066h, 5121h, 8801 阅读全文
posted @ 2021-12-17 02:09 枕梦轻和 阅读(20) 评论(2) 推荐(0) 编辑
摘要: 实验任务2 source code in Person.hpp : 1 #include <iostream> 2 #include <iomanip> 3 4 using namespace std; 5 6 class Person 7 { 8 private: 9 string name; 1 阅读全文
posted @ 2021-12-15 14:52 枕梦轻和 阅读(11) 评论(1) 推荐(0) 编辑
摘要: 实验任务二 source code : 1 #include <iostream> 2 #include <typeinfo> 3 4 // definitation of Graph 5 class Graph 6 { 7 public: 8 void draw() { std::cout << 阅读全文
posted @ 2021-12-01 14:51 枕梦轻和 阅读(28) 评论(1) 推荐(0) 编辑
摘要: 实验任务4 source code in Vector_int.hpp : 1 #include <iostream> 2 using namespace std; 3 class Vector_int{ 4 public: 5 Vector_int(int n); 6 Vector_int(int 阅读全文
posted @ 2021-11-10 12:48 枕梦轻和 阅读(13) 评论(3) 推荐(0) 编辑
摘要: 实验任务5 source code in Info.hpp : 1 #include<iostream> 2 #include<string> 3 #include <iomanip> 4 using namespace std; 5 6 7 class Info{ 8 private: 9 str 阅读全文
posted @ 2021-11-03 13:33 枕梦轻和 阅读(38) 评论(3) 推荐(0) 编辑
摘要: 实验任务2 ①在debug中,使用d命令查看生产日期。 ②使用e命令修改生产时期所在的内存单元,修改后,再次使用d命令查看 分析:命令之后并没有修改对应的值。因为该区域为只读。 实验任务3 ①在debug中,使用e命令,向内存单元填写数据。在debug中,使用f命令,向内存单元批量填写数据。 ②尝试 阅读全文
posted @ 2021-10-28 22:53 枕梦轻和 阅读(50) 评论(3) 推荐(0) 编辑
摘要: 实验任务三 source code in Complex.hpp : 1 #include <iostream> 2 3 using namespace std; 4 class Complex{ 5 public: 6 Complex(){ 7 real = 0; 8 imag = 0; 9 } 阅读全文
posted @ 2021-10-27 14:59 枕梦轻和 阅读(48) 评论(3) 推荐(0) 编辑