一個Linux下的計時器

程序代碼spa #include <signal.h> #include <stdio.h> #include <unistd.h> bool x = true; void CtrlC(int sig) { x = false; printf("\t Ctrl+C Received!\n"); } int main() { printf("Program Activa
相關文章
相關標籤/搜索