初学汇编,简单实现了一下键盘输入行和列,然后屏幕显示对应元素的功能。 一.思路 了解到汇编中其实没有二维数组的概念,需要用一维数组进行模拟,接着就是傻傻地写了,毫无技术含量。 二.注意点 DOS功能调用不管是键盘输入,还是屏幕输出都是以字符形式,要变成10进制要减去对应的ASCLL码,比如0的ASC ...
分类:
编程语言 时间:
2018-10-19 00:16:03
阅读次数:
204
在用python发邮件时,发现用网易邮箱作为发件人。会出现以下异常: smtplib.SMTPDataError: (554, b'DT:SPM 163 smtp12,EMCowxxn7yO5rI9bT0uuEg--.45230S2 1226142521,please see http://mail ...
分类:
编程语言 时间:
2018-10-16 01:49:14
阅读次数:
187
import sysIP_input = input("Please input IP:")DNS_input = input("Please input Domain-Name:")if sys.platform == 'win32': with open(r'C:\Windows\System3 ...
分类:
其他好文 时间:
2018-10-15 23:15:09
阅读次数:
195
一、需求有客户等保需求对文件一致性进行校验,想到利用md5sum工具,因此写脚本来对文件进行自定义扫描,后期可以利用其进行校验,快速校验文件发现变更的文件,一定程度及时发现***等***行为。二、脚本利用md5sum将扫描得到的文件保存在/tmp目录下,后缀为时间戳,后期可以利用此文件进行校验#!/bin/bash#func:scanfile#md5sum-c$SCAN_FILESCAN_DIR=`e
分类:
系统相关 时间:
2018-10-15 18:13:57
阅读次数:
194
q estimate position within several mm, and updates at 200Hz Vicon Motion Capture system, please click on this link. https://www.coursera.org/learn/rob ...
分类:
其他好文 时间:
2018-10-15 12:05:48
阅读次数:
290
Given initially empty stacks, there are three types of operations: 1 s v: Push the value onto the top of the -th stack. 2 s: Pop the topmost value out ...
分类:
其他好文 时间:
2018-10-14 23:05:06
阅读次数:
156
1. 询问名字 常用句子 Hi, may I have your name, please? Could you please tell me your name? Will it be convenient for you if I have your name? your name? What ... ...
分类:
其他好文 时间:
2018-10-14 11:20:34
阅读次数:
229
#include<iostream>using namespace std;int max(int a,int b){ if(a>b) {return a;}else{ return b;}}int maxsum(int a[],int n){ int i;int maxsofar=0;int ma ...
分类:
编程语言 时间:
2018-10-14 01:55:19
阅读次数:
185
input函数:x=input(please input:' ') 接收用户的键盘输入 print 函数 在print语句之后加上逗号 表示输出后不换行 print(value,-----,sep=‘ ’,end =‘ ’) sep默认空end默认换行 file 默认标准输出流 注释: 1.以#开始... ...
分类:
编程语言 时间:
2018-10-13 02:42:49
阅读次数:
167
[ERROR] Please refer to E:\maven\web_nanchang\target\surefire-reports for the individual test results. 解决方法: 这是因为测试代码时遇到错误,它会停止编译。只需要在pom.xml的<project ...
分类:
其他好文 时间:
2018-10-12 21:17:44
阅读次数:
148