Hello User This is nothing, but a simple program which if kept in start of windows will shut down the system by itself within five minutes of starting. It takes the time from the system & starts its timer to shut down after 5 minutes (not considering seconds). U can use shutdown.exe,once started there is only one EXIT that u know only. EXIT : DOUBLECLICK TIME TO ENABLE EXIT
標簽: nothing program windows simple
上傳時間: 2014-03-06
上傳用戶:ruan2570406
#include<stdio.h> #include<string.h> #include<limits.h> #include<unistd.h> #include<sys/types.h> #define PROMPT_STRING "[myshell]$" #define QUIT_STRING "EXIT\n" static char inbuf[MAX_CANON] char * g_ptr char * g_lim extern void yylex() int main (void){ for( ){ if(fputs(PROMPT_STRING,stdout)==EOF) continue if(fgets(inbuf,MAX_CANON,stdin)==NULL) continue if(strcmp(inbuf,QUIT_STRING)==0) break g_ptr = inbuf g_lim = inbuf + strlen(inbuf) yylex() } return 0 }
上傳時間: 2016-12-31
上傳用戶:colinal
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
單片機播放音樂實驗(匯編) org 0000h ajmp main org 000bh ajmp timer0 org 0030h timer0: clr ea djnz 33h,EXIT mov 33h,53h djnz 32h,EXIT mov 32h,52h djnz 31h,EXIT1 mov 31h,51h djnz 30h,EXIT1 setb f0 ajmp EXIT EXIT1: cpl p2.1 EXIT: setb ea reti main: mov tmod,#02h mov ie,#82h mov th0,#254 mov tl0,#254 mov dptr,#tab main1: mov 40h,#00h
上傳時間: 2013-12-31
上傳用戶:thinode
//獲得當前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判斷是否支持該模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] EXIT[1] } //取得信息 width = vga_getxdim[] height = vga_getydim[] colors = vga_getcolors[] //繪圖 for[i=0 i<colors i++]{ vga_setcolor[i] vga_drawline[0, i, width-1, i] }
標簽: vga_getcurrentmode vga_init oldmode vga_ha
上傳時間: 2014-12-19
上傳用戶:maizezhen
//獲得當前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判斷是否支持該模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] EXIT[1] } //獲得當前的模式 mode = vga_getcurrentmode[] info = vga_getmodeinfo[mode]
標簽: vga_getcurrentmode vga_init oldmode vga_ha
上傳時間: 2017-03-24
上傳用戶:ecooo
//結構 struct fb_fix_screeninfo finfo struct fb_var_screeninfo vinfo //打開設備 fd = open["/dev/fb0", O_RDWR] if [!fd] { printf["Cannot open framebuffer device.\n"] EXIT[1] } //取得固定信息 if [ioctl[fd, FBIOGET_FSCREENINFO, &finfo]] { printf["Error reading fixed information.\n"] EXIT[1] } if [ioctl[fd, FBIOGET_VSCREENINFO, &vinfo]] { printf["Error reading variable information.\n"] EXIT[1] }
標簽: struct fb_fix_screeninfo fb_var_screeninfo finfo
上傳時間: 2014-08-16
上傳用戶:gut1234567
Program Description: The program asks the user to choice from the menu an option A. Check to see if a number is prime. B. Count the number of vowels in a line. X. EXIT the program.
標簽: Description the Program program
上傳時間: 2017-04-08
上傳用戶:磊子226
應用UNIX的fork()等系統調用,編寫一個c程序具有以下功能: a) 實現Shell的基本功能,包括有:打印提示符;接受和分析命令行(濾去無效的空格、tab符號以及換行符等);執行命令(要有出錯處理;輸入EXIT或者bye退出);返回父進程; b) 處理后臺程序(不需要wait) c) 處理多行
上傳時間: 2014-12-07
上傳用戶:gtf1207
SMC takes a state machine stored in a .sm file and generates a State pattern in twelve programming languages. Includes: default transitions, transition args, transition guards, push/pop transitions and Entry/EXIT actions. See User Manual for more info.
標簽: programming generates machine pattern
上傳時間: 2013-12-25
上傳用戶:gaome