我刚买了一台Macbook,我刚刚安装了gpp来编写一些C++程序,但是当我包含iostream时,我得到了这个错误:
main.cpp:2: error: Requested include file not found
下面是我的代码:
#include <iostream>
int main() {
std::cout << "test" << std::endl;
}如果你能帮助我,谢谢你!
发布于 2020-09-09 09:21:32
我在终端上使用了xcode-select --install,一切都开始工作了。
祝你好运
https://stackoverflow.com/questions/53421455
复制相似问题