-
加减计算器
说明: (1) 加减数和被加减数的输入位数为1-4位;
(2) 相加结果显示要考虑进位的输出显示(即5位输出);
(3) 注意对“0”—“9”、“+”、“=”以外按键输入的处理;
(4) 注意对相加结果进行十进制处理;
(5) 输入加数和被加数时,显示器上显示的数字要像平时用的计算器输入一样,即:每输入一个数字,原来显示的数字要往左移;
(6) 可以完成累加功能。((1) The input digits of the additions and subtractions and the additions and subtractions are 1-4 digits;
(2) The additive result shows that the carry output display (i.e. 5-bit output) should be considered.
(3) Attention should be paid to the processing of keyboard input other than "0"-"9", "+" and "=";
(4) Attention should be paid to decimal processing of the additive results.
(5) When the additive and the additive are input, the number displayed on the display should be the same as that input by the usual calculator, that is, every number input, the original number displayed should move to the left;
(6) Accumulative function can be completed.)
- 2020-12-26 15:09:03下载
- 积分:1
-
抽签程序,考前检录,考试抽题等等,稍作修改就可以改成其他形式的抽题
抽签程序,考前检录,考试抽题等等,稍作修改就可以改成其他形式的抽题
界面简单,易用,稍作修改就可以用在自己的项目。
- 2022-02-03 12:33:52下载
- 积分:1
-
c#的ado.net的代码
该程序是我用c#写的用来访问sql数据库的ado.net的代码,作用是数据的匹配,对于刚开始学习ado.net的同学用帮助,开发工具是visual studio 2013
- 2022-03-05 15:49:32下载
- 积分:1
-
ahdlc
Asynchronous HDLC routines
- 2006-12-07 11:39:53下载
- 积分:1
-
BMS---4-v2
英飞凌BMS解决方案C语言程序源码及使用说明(Infineon BMS solutions C language program source code and instructions for use)
- 2013-03-26 12:00:29下载
- 积分:1
-
pavuk-0.9.35.tar
网络爬虫程序,C++实现!程序完全开源!(Network reptiles procedures, C++ Realize! Procedure is totally open source!)
- 2007-08-08 18:06:43下载
- 积分:1
-
语法分析生成树
通过简单文法(包括加减乘除括号以及分号)的词法分析获取token,然后对此生成抽象语法树。
- 2022-07-17 03:45:48下载
- 积分:1
-
HMM
隐马尔科夫工具箱,设置路径后直接使用。在MATLAB中实现。(Hidden Markov toolbox, set path directly. Implemented in MATLAB.)
- 2012-11-14 15:32:21下载
- 积分:1
-
C# 进度条、状态栏和计时器的实例
C# 进度条、状态栏和计时器的实例,这个例子的部分功能需要连接数据库才可看到,窗体上可看到进度条、时间等控件的效果,相关代码可看下边的代码,可起一定参考:
myAdapter.Fill(myDs, "dtMyProd");
myConn.Close();
//为数据表生成主键
DataColumn[] myPK = new DataColumn[1];
myPK[0] = myDs.Tables["dtMyProd"].Columns["ProductId"];
myDs.Tables["dtMyProd"].PrimaryKey = myPK;
DataRow thisRow = myDs.Tables["dtMyProd"].Rows[1];
txtPId.Text = "" + thisRow["ProductId"];
txtPName.Text = (String)thisRow["ProductName"];
txtUnitPrice.Text = "$" + thisRow["UnitPrice"];
statusBar1.Text ="数据库加载完毕";
时间处理方面,请参见以下代码:
string TimeInString="";
int hour=DateTime.Now.Hour;
int min=DateTime.Now.Minute;
int sec=DateTime.Now.Second;
TimeInString=(hour < 10)?"0" + hour.ToString() :hour.ToString();
TimeInString+=":" + ((min
- 2022-04-17 01:40:32下载
- 积分:1
-
ads7846
asaasa adxsadsa ssda
- 2011-05-10 21:28:29下载
- 积分:1