上一页 1 2 3 4 5 6 ··· 18 下一页
摘要: Makefile 代碼如下: B 需要 A 的 產出, A B 是 target, case 1: single thread make j1 則執行的順序為 A B A 先產出,B 再消化。 case 2: multi thread make j16 則執行的順序為平行 A B A 尚未產出 B 阅读全文
posted @ 2019-03-26 11:41 wangchangruei 阅读(755) 评论(0) 推荐(0) 编辑
摘要: folder structure: Makefile t1/Makefile t1/t1.c t2/Makefile t2/t2.c Makefile t1/Makefile t1/t1.c t2/Makefile t2/t2.c ================================== 阅读全文
posted @ 2019-03-22 18:13 wangchangruei 阅读(461) 评论(0) 推荐(0) 编辑
摘要: Makefile ..... all: T2 T1 T1: @echo " T1 阅读全文
posted @ 2019-03-22 10:28 wangchangruei 阅读(331) 评论(0) 推荐(0) 编辑
摘要: Makefile ================================================ CLEANSUBDIRS = $(SUBDIRS:%=clean %): SUBDIRS 變數裡的元素, 若有符合 % pattern,(%是萬用字元,也可代表很多字) 則使用 cle 阅读全文
posted @ 2019-03-21 19:11 wangchangruei 阅读(361) 评论(0) 推荐(0) 编辑
摘要: case 1: Makefile environment_1 : There is only file a clean a environment_2 : There are two file a and clean can't clean a case 2: Makefile environmen 阅读全文
posted @ 2019-03-21 15:58 wangchangruei 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 利用 pipe 做接收資料 case 1 Terminal_1 Terminal_2 Terminal_2 Terminal_3 $ cat 阅读全文
posted @ 2019-03-20 14:12 wangchangruei 阅读(216) 评论(0) 推荐(0) 编辑
摘要: isatty test whether a file descriptor refers to a terminal a.out 的 stdin 來自 terminal,所以 isatty(STDIN_FILENO) 為 1 a.out 的 stdin 是來自 pipe,不是來自 terminal, 阅读全文
posted @ 2019-03-20 10:33 wangchangruei 阅读(263) 评论(0) 推荐(0) 编辑
摘要: ``` include int delay(int time) { int i,j; for(i =0;i 阅读全文
posted @ 2019-03-08 20:11 wangchangruei 阅读(178) 评论(0) 推荐(0) 编辑
摘要: short cut https://code.visualstudio.com/shortcuts/keyboard shortcuts linux.pdf go to definition : F12 go back : ctrl alt go forward : ctrl shift Find 阅读全文
posted @ 2019-01-17 14:19 wangchangruei 阅读(445) 评论(0) 推荐(0) 编辑
摘要: https://larrylu.blog/tmux 33a24e595fbc 阅读全文
posted @ 2019-01-14 19:56 wangchangruei 阅读(106) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页