文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.