-
构和类又非常多的相似之处,如结构可以实现界面,和可以拥有和类一样的成员。结构与类也有一些重要的区别:结构是值类型,而不是引...
构和类又非常多的相似之处,如结构可以实现界面,和可以拥有和类一样的成员。结构与类也有一些重要的区别:结构是值类型,而不是引-conformation and category there are many similarities, such as the interface structure can be achieved, and can have and the members of the same category. The class structure are some important differences between the two : the structure is the type of value, rather than primers
- 2022-11-15 07:50:03下载
- 积分:1
-
先创建文本文件IN.DAT,在文件中写20个四位整数。
编写函数readDat()把从文件中读出这些数并存入数组a中;编写函数Calvalue( ), 其功...
先创建文本文件IN.DAT,在文件中写20个四位整数。
编写函数readDat()把从文件中读出这些数并存入数组a中;编写函数Calvalue( ), 其功能要求:
1. 求出这文件中共有多少个正整数totNum
2. 求这些数右移1位后, 产生的新数是偶数的数的个数totCnt, 以及满足此条件的这些数(右移前的值)
的算术平均值totPjz。
最后在main( )函数中把所求的结果输出。-First create a text file IN.DAT, wrote in the paper four integer 20. The preparation of function readDat () to read from the file into an array of these and a number of preparation function Calvalue (), its functional requirements: 1. Obtained in this paper the total number of positive integer totNum 2. For those few shifted to right one after the new number is the number of even a few totCnt, as well as to meet the conditions of these (the value of the pre-shifted to right) the arithmetic mean totPjz. Finally, in the main () function to output the results of the request.
- 2022-11-28 05:35:03下载
- 积分:1
-
在STAR ES598PCI单板开发机上实现对电烤箱温度和时间的控制功能。
设计要求:
(1)通过键盘设定温度和加热时间。
(2)使用DS18B20...
在STAR ES598PCI单板开发机上实现对电烤箱温度和时间的控制功能。
设计要求:
(1)通过键盘设定温度和加热时间。
(2)使用DS18B20采集温度,采用七段数码管显示当前温度和剩余时间,并和设置的温度进行比较。
(3)当温度低于设定值时,通过DAC0832输出电压供给发热电阻RT1,使其温度升高。
(4)使温度恒定在设定温度附近,时间到了停止加热,并提示操作完毕。
-In the STAR ES598PCI veneer development machine to realize oven temperature and time control functions. Design requirements: (1) through the keyboard to set the temperature and heating time. (2) The use of DS18B20 collecting temperature, using seven-segment digital tube displays the current temperature and the remaining time, and and set the temperature for comparison. (3) When the temperature is below the set value, the DAC0832 output voltage of the supply of heat through the resistor RT1, so that temperature. (4) to enable the temperature constant at the set temperature near the time to the cessation of heating, and prompt action is completed.
- 2022-04-27 01:39:00下载
- 积分:1
-
快速学习Sql的一种方法.
快速学习Sql的一种方法.-fast learning a method.
- 2022-03-25 13:06:46下载
- 积分:1
-
第一章会计回答~ Chapter12
accounting answer chapter1~chapter12-accounting
- 2022-02-10 04:08:19下载
- 积分:1
-
Wireless sensor positioning the English papers, to conduct research in this area...
无线传感器定位方面的英文论文,希望对进行这方面研究的朋友有所帮助.-Wireless sensor positioning the English papers, to conduct research in this area want to help a friend.
- 2022-09-08 02:30:04下载
- 积分:1
-
C程序优化 内存篇
C程序优化 内存篇-C program memory optimization chapter
- 2022-08-03 16:21:27下载
- 积分:1
-
一个简单的GA 算法实例,有说明。word格式。用了就知道了。
一个简单的GA 算法实例,有说明。word格式。用了就知道了。-a simple GA example, is described. Word format. Spent will know.
- 2023-07-06 21:00:03下载
- 积分:1
-
I hope this article will help to everyone
I hope this article will help to everyone
- 2022-11-29 15:45:08下载
- 积分:1
-
urgent requests by the original code
急需原代码请通过-urgent requests by the original code
- 2022-05-14 00:03:54下载
- 积分:1