- myos1 这是一个处理机的调度程序 用C语言写的
- MapinfoApply 利用MFC在Visual C++中实现Mapinfo数字电子地图的应用
- iar_avr_310c-armok0182026 QUGR57KZZQXL530VXN2DANZQBJZGCGO6TW9JSWGUBUPN04SCX7UWNV34SCKPZNMBZOJWG1QRBA4X 42GWSVWJX8HWU6ZB6276OAM1VRKL5XR3TKID0A0ZEHGX5KRH4VE2KODDFIPCEA4X2VRQ0MLX55I5 1H3A40QYJBUT2QYEPP1M0YYDCKZLFBW5W5XAEXCP1WNMFOSKVDT5TSIB1E0U# Feature: EWAVR
- Tetris 俄罗斯方块
- clock 一个小时钟程序
- Calculator 1
文件名称:thread.dat
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:868byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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 -int main (int argc, char* argv []) (char ch while (true) (printf (************************************* ) printf ( 1.Reader Priority ) printf ( 2.Writer Priority ) printf ( 3.Exit to Windows ) printf (************************************* ) printf ( Enter your choice (1,2,3): ) do ( ch = (char) _getch ()) while (ch! = 1
{
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 -int main (int argc, char* argv []) (char ch while (true) (printf (************************************* ) printf ( 1.Reader Priority ) printf ( 2.Writer Priority ) printf ( 3.Exit to Windows ) printf (************************************* ) printf ( Enter your choice (1,2,3): ) do ( ch = (char) _getch ()) while (ch! = 1
相关搜索: thread.dat
(系统自动生成,下载前可以参看下载内容)
下载文件列表
thread.dat.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
