虫虫首页|资源下载|资源专辑|精品软件
登录|注册

您现在的位置是:虫虫下载站 > 资源下载 > 操作系统开发 > int main(int argc,char *argv[]) { char ch while(true) { printf("*************************

int main(int argc,char *argv[]) { char ch while(true) { printf("*************************

  • 资源大小:2 K
  • 上传时间: 2017-01-06
  • 上传用户:dxhh
  • 资源积分:2 下载积分
  • 标      签: char int printf while

资 源 简 介

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

相 关 资 源

您 可 能 感 兴 趣 的