摘要: #截图 #代码 #include <stdio.h> #include <unistd.h> #include <signal.h> #include <string.h> #include <assert.h> #include <stdlib.h> #include <time.h> //usi 阅读全文
posted @ 2022-11-10 09:32 戴骏 阅读(34) 评论(0) 推荐(0)
摘要: #截图 #代码 //r09 #include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<sys/types.h> #include<sys/wait.h> #include<time.h> int main() { pid_t p 阅读全文
posted @ 2022-11-10 09:01 戴骏 阅读(14) 评论(0) 推荐(0)
摘要: #截图 #代码 #include <stdio.h> #include <pthread.h> #include <time.h> void *Thread1(void *arg) { printf("线程1:"); srand((unsigned int)time(NULL)); int n = 阅读全文
posted @ 2022-11-10 09:00 戴骏 阅读(43) 评论(0) 推荐(0)