<cll> 在 2012-02-23 上传
说明:设计界面提示信息为:“Please input DATE(D) OR TIME(T) OR QUIT(Q):”,从键盘键入“D”,可显示系统日期。从键盘输入“T”,可显示系统时间。从键盘输入“Q”,退出程序。利用DOS的系统功能调用的2AH和2CH功能调用,读取系统日期和时间。将日期和时间转换为相应的ASCII码字符,显示在屏幕上。-The design of the interface for the message : "Please input DATE ( D ) OR TIME (T ) OR, the QUIT ( Q) : " , type " D " from the keyboard to display the system date . Input from the keyboard the "T" to display the system time . Input from the keyboard the "Q " to exit the program. 2AH and 2CH function call using the DOS system function calls , read the system date and time . The date and time converted to the corresponding ASCII character is displayed on the screen .
开发平台:DOS | 大小:2KB | 下载0次