搜索资源列表
sjzhxs
- 本程序能从键盘读入二个五位十进制数(1位符号位+4位数值位),并将这二个十进制数 分别转换为二进制数,然后求其和,再将和以十进制形式进行显示。-this program from the keyboard read into two five decimal number (1 - 4 Symbol numerical), This will be two decimal number were converted to a binary number, and then seek his,
lab3_1
- a) 分别以左和右对齐方式输出整数,域宽为12; b) 以八进制、十进制、十六进制输入/输出整数; c) 实现浮点数的指数格式和定点格式的输入/输出,并指定精度,按实际情况进行调整,直到满意为止; d) 把字符串读入字符型数组变量中,从键盘输入,要求输入串的空格也全部读入,以回车换行符结束; -a) to the left and right, respectively, the alignment of the output integer, the domain width
Multilevel_Queue_Scheduling
- 合肥工业大学操作系统课程设计-实现进程多级队列调度算法的模拟(附课程设计报告) 建立作业的数据结构描述; 使用两种方式产生作业:(a)自动产生, (b)手工输入; 在屏幕上显示每个作业的执行情况; 时间的流逝可用下面几种方法模拟:(a)按键盘,每按一次可认为过一个时间单位; (b) 响应WM_TIMER; 计算并显示一批作业的周转时间、平均周转时间、带权周转时间、平均带权周转时间。
1111
- 优先队列 基本要求:对Huffman树的方法进行扩充,实现如下功能: 1)键盘输入一个字符串,统计每个字符出现的频率; 2)输出每个字符的Huffman编码 3)计算并输出WPL 提高要求:改键盘输入为读文件(任何类型)-Basic requirements of the priority queue: the method of Huffman tree expansion, to achieve the following functions: 1) keyboard i
ClassApi
- C#编写的类,利用API封装了键盘鼠标内存读取等功能,包涵代码及详细注释-Written in C# class using the API encapsulates the keyboard and mouse functions such as memory read, bear the code and detailed notes
input-
- 从键盘输入两个学生数据,写入一个文件中,再读出这两个学生的数据显示在屏幕上。-Two student data entered from the keyboard, write a file, these two students read out the data displayed on the screen.
Read-write.-Dat-file
- 以写入方式打开d.dat文件,从键盘输入数据,以读方式打开d.dat文件,循环从文件读取字符,并显示-D.dat file open for writing, data input from the keyboard d.dat file open for reading loop reads characters from a file and displays
compiler
- 本编译器主要有四部分功能: 1、词法分析 编制一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续显示)。 2、语法分析之递归下降分析 递归下降分析法的前提是文法必需为LL(1)文法,此功能为验证性功能,已经给出文法,输入一符号串,验证是否属于该文法的句子即可。 3、语法分析之LL(1)预测分析 此
hw5
- 实现删除嵌套的注释。每次从键盘上读取三行字符串。若发现存在嵌套的情况,即在注释内又存在的/*或*/,就把这/*或*/删除,注释外的部分保留。/与*优先级是左结合,即当前出现/*/时,优先删除/*。--Achieve delete nested comments. Each read three lines of string from the keyboard. If it is found of the presence of nested, the comment /* or* /, put
shiyan2.2
- 编写一个控制台应用程序,程序中有两个类定义,一个是创建程序时系统自动创建的类Class1,一个是用户自定义的Student类,要求该类包含私有字段:学号(字符串)、姓名(字符串)和性别(字符),具有三个属性:学号(读写)、姓名(只读)、性别(读写),具有有参构造方法、具有同时显示学生个人信息的方法。在Class1类的Main方法中完成以下功能: (1)从键盘上输入一个学生的个人信息(学号、姓名、性别)。 (2)修改该学生的学号和性别。 -Write a console applicat
File
- c#文件操作:将键盘输入的内容写到文件中;将文件中的内容以二进制方式和文本方式读取出来;-c# file operations: The contents of keyboard input written to a file contents of the file in binary mode and text mode read out
8_2
- 2.从键盘输入10个整形数据,将这10个数据写到c盘的test2.txt中,然后关闭文件。接着再打开文件读出这10个数据求平均值,并将平均值写入test2.txt中。-Enter shaping data from the keyboard 10, the data is written to these 10 test2.txt c drive, and then close the file. And then open the file to read the data out of th
shiyan2
- 编写一个控制台应用程序,程序中有两个类定义,一个是创建程序时系统自动创建的类Class1,一 个是用户自定义的Student类, 要求该类包含私有字段:学号(字符串)、姓名(字符串)和性别(字符),具有三个属性:学号(读写)、姓名(只读)、性别(读写), 具有有参构造方法、具有同时显示学生个人信息的方法。在Class1类的Main方法中完成以下功能: (1)从键盘上输入一个学生的个人信息(学号、姓名、性别)。 (2)修改该学生的学号和性别。 (3)打印修改前后该学生的个人信
keystrokehock
- 处理击键和字符消息:如果你需要读取输入到窗口中的键盘字符,就处理WM_CHAR消息;如果你需要读取光标键、功能键、Delete键、Insert键、Shift键、Ctrl键和Alt键,则处理WM_KEYDOWN消息。-Handling the message: if you need to read the keyboard characters the window, handle WM_CHAR message if you need to read cursor keys, functi
comKbd
- 串口键盘模拟程序,从串口扫描枪读取数据并模拟键盘录入。 采用winio模拟,未解决x64平台下加载问题。 半成品,慎用(Serial keyboard simulation program, read data from the serial scan gun and simulate keyboard input. Using WINIO simulation, the loading problem of x64 platform is not solved. Careful use