Write a multithreaded Java, Pthreads, or WIN32 program that outputs prime numbers. This program should work as follows: The user will run the program and will ENTER a number on the command line. The program will then create a separate thread that outputs all the prime numbers less than or equal to the number ENTERed by the user.
标签: program multithreaded Pthreads numbers
上传时间: 2013-12-21
上传用户:zhyiroy
【概要】 名称:DK的《贪吃蛇》-附源代码 版本:1.0.0.0 运行环境:Win9X/Me/NT/2000/XP/2003/Vista 开发环境:WinXp+VC6 软件开发者:FanSin Studio 开发商网站:暂无 作者:棼紫|DKink QQ:8566427 EMAIL:dkink@qq.com 【介绍】 基于像素移动的贪吃蛇,没有记分,懒得写。 背景音乐无,懒得写。 有人想看背景音乐如何实现的,请看DKG12里面的实现。 【操作指南】 键盘操作,ENTER开始,方向移动。
上传时间: 2014-02-11
上传用户:ma1301115706
Implement a phone book system for employees of a company. Your program will output the following menu (1) ENTER an employee and a phone pair to the system (2) Lookup an employee s phone number (3) Find out who is/are the person(s) of a given number (4) How many people are currently in the system (5) Delete an employee from the system (6) Output all employees name‐phone pair (7) How many phone numbers total in the current system (8) Quit When
标签: Implement employees following company
上传时间: 2013-12-17
上传用户:zhangliming420
int main(int argc,char *argv[]) { char ch while(true) { printf("*************************************\n") printf(" 1.Reader Priority\n") printf(" 2.Writer Priority\n") printf(" 3.Exit to Windows\n") printf("*************************************\n") printf("ENTER your choice(1,2,3): ") do{ ch=(char)_getch() }while(ch!= 1 &&ch!= 2 &&ch!= 3 ) system("cls") if(ch== 3 ) return 0 else if(ch== 1 ) ReaderPriority("thread.dat") else WriterPriority("thread.dat") printf("\nPress Any Key to Coutinue:") _getch() system("cls") } return 0
上传时间: 2017-01-06
上传用户:gonuiln
This product has been manufactured to your company’s specifications a part for use in your company’s general electronic products. It is guaranteed to perform according to delivery specifications. For any other use apart from general electronic equipment, we cannot take responsibility if the product is used in medical devices, nuclear power control equipment, aerospace equipment, fire and security systems, or any other applications in which there is a direct risk to human life and where extremely high levels of reliability are required. If the product is to be used in any of the above applications, we will need to ENTER into a separate product liability agreement.
标签: company your specifications manufactured
上传时间: 2017-02-19
上传用户:haohaoxuexi
With the advances in the semiconductor and communication industries, it has become increasingly important for electrical engineers to develop a good understanding of microelectronics. This book addresses the need for a text that teaches microelectronics from a modern and intuitive perspective. Guided by my industrial, research, and academic experience, I have chosen the topics, the order, and the depth and breadth so as to efficiently impart analysis and design principles that the students will find useful as they ENTER the industry or graduate school.
标签: communication semiconductor increasingly industries
上传时间: 2013-12-19
上传用户:evil
Permits to negotiate of simple form (without code) some of the most utilized combinations of keys in the forms. It suffices with freeing the component on the form and to activate the properties desired segun the behavior that want. * ENTER to change of field. * ESC to close the form * to Advance al following control * to Delay al previous control * function Keys *.. .
标签: combinations negotiate of utilized
上传时间: 2014-01-15
上传用户:linlin
this is a digital intercom projects using ADC PWM and UART interrupt. you take the value from mic ENTER it to ADC and then send serially to the other microcontroller which receives the data and transform the digital data into analog data by PWM which is connected to speaker
标签: interrupt intercom projects digital
上传时间: 2017-04-19
上传用户:亚亚娟娟123
在该实例中,增加或修改货物明细时,在输入一个项目数据后,应按ENTER键输入其他项目数据(此处为键盘响应事件)。
标签:
上传时间: 2017-04-19
上传用户:chens000
毕业设计:VC++\SQL 2000 《文档管理系统》主要用于对企业的文档进行有效管理,其主要包括基本信息、文档管理和系统设置。系统的功能性强,操作灵活,是您企业进行文档管理的最佳帮手。 操作注意事项 用户在使用《文档管理系统》之前,应注意以下事项: (1)在登录系统之前应先附加数据库,否则无法运行。 (2)本系统的初始用户名为:mr,密码为:mrsoft。 (3)本系统完全支持按〈ENTER〉键跳到下一文本框的功能,用户无需再通过鼠标定位光标位置。
上传时间: 2013-12-21
上传用户:ma1301115706