搜索资源列表
thread_test
- 一个MFC 对话框的应用程序,实现两个线程。线程1:不断地往一个全 局的字符串数组(大小为5)中写随机的字符串(数字和字母构成);线程2: 不断的处理字符串数组中的所有字符串,把它们逆序。 -An MFC dialog application, to achieve the two threads. Thread 1: constant string to a global array (size 5) to write a random string (numbers and le
consume
- 基于操作系统中消费者和生产者的一个简单模型实现字符串数组的处理,一方面不断生成新的随机字符串放入数组中,另一方面从数组中不断提出字符串进行处理(逆序输出)-Based on the operating system to consumers and producers to achieve a simple model of a string array processing, on the one hand continue to generate a new random string in
JFrame2
- 求若干整数的最大值、最小值和平均值。输入若干整数或浮点数,求出最大值和最小值并显示。要求:使用JTextField数组或表格,数组值可变;响应事件,计算最大值、最小值和平均值时忽略空值和空串;按实际元素个数求值;解决除数为0问题。-Find the maximum, minimum, and average values of certain integer. Enter the number of integer or floating-point numbers,
