实验结论 实验任务1 1 ;ex1.asm 2 assume cs:code 3 code segment 4 mov ax, 0b810h 5 mov ds, ax 6 mov byte ptr ds:[0], 1 7 mov byte ptr ds:[1], 1 8 mov byte ptr d ...
分类:
其他好文 时间:
2020-11-02 10:40:55
阅读次数:
19
1)在父窗体中新建一种子窗体 2)改变子窗口布局 有父窗体 ISMdicontainer 子窗口 MdiParent 首先父窗体load中需要先将父窗体设置为MDI窗体的容器 (这个可以直接在父窗体的属性中修改) 1 private void Form1_Load(object sender, Ev ...
6-2 使用函数验证哥德巴赫猜想 (20分) 本题要求实现一个判断素数的简单函数,并利用该函数验证哥德巴赫猜想:任何一个不小于6的偶数均可表示为两个奇素数之和。素数就是只能被1和自身整除的正整数。注意:1不是素数,2是素数。 函数接口定义: int prime( int p ); void Gold ...
分类:
其他好文 时间:
2020-11-02 10:10:25
阅读次数:
22
背景:曾经遇到一个很麻烦的事情,就是一个json串中有很多占位符,需要替换成特定文案。如果将json转换成对象后,在一个一个属性去转换的话就出出现很多冗余代码,不美观也不是很实用。 而且也不能提前在json串中替换,因为替换的文案会因为某些变量发生改变。就比如国际化,在中文的时候应该是"你好",而在 ...
分类:
Web程序 时间:
2020-11-02 09:45:09
阅读次数:
30
抛物线天线的结构组成 抛物面天线的结构图: 抛物面天线的原理图: 抛物面天线的馈源喇叭: 抛物面天线的波导管: 抛物面天线的副反射面: 抛物面天线的波导同轴转换器: End ...
分类:
其他好文 时间:
2020-11-02 09:44:02
阅读次数:
18
Online learning involves courses offered by postsecondary institutions that are 100% virtual, excluding massively open online courses (MOOCs). Online ...
分类:
其他好文 时间:
2020-11-01 22:20:40
阅读次数:
24
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System. ...
帮助类: using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using MySq ...
分类:
数据库 时间:
2020-11-01 21:58:38
阅读次数:
29
单循环实现一行十个★ # 方法一 i = 0 while i < 10: print("★", end="") i += 1 print() # 方法二(通过变量的形式实现) i = 0 str_var = "" while i < 10: strvar += "★" i += 1 print(st ...
分类:
其他好文 时间:
2020-11-01 21:00:01
阅读次数:
29
写在前面 前段时间搭建了一套MySQL分布式数据库集群,数据库节点有12个,用来测试各种分布式事务方案的性能和优缺点。测试MySQL XA事务时,正当测试脚本向数据库中批量插入数据时,强制服务器断电!注意:是直接拔电源,使其瞬间断电,再次重启服务器后,MySQL数据库报错了。特此记录MySQL XA ...
分类:
数据库 时间:
2020-11-01 10:37:26
阅读次数:
25