1. 程式人生 > >macbook 編譯時出現stdio.h file not found 的解決辦法

macbook 編譯時出現stdio.h file not found 的解決辦法

1、首先檢查開頭沒有漏寫#include <stdio.h>;

2、未安裝 Command Line Tools命令列工具,安裝步驟如下:

在終端中輸入 xcode-select --install,按提示安裝完成後,重啟終端即可。