Cout,Cin,Endl没有研究日食氧气

时间:2018-03-25 18:06:40

标签: c++ eclipse

我使用High Sierra在MacBook Air上使用eclipse oxygen.3。我使用crossGCC创建了一个新的C ++项目。这是我的代码:

/*
 * HelloWorld.cpp
 *
 *  Created on: Mar 24, 2018
 *      Author: Aaron
 */

#include <iostream>

int main()
{
    std::cout << "Hello world!" << std::endl;
    return 0;
}

控制台说符号&#39; cout&#39;并且&#39; endl&#39;找不到,并强调std :: cout和std :: endl。我该如何解决这个问题?

0 个答案:

没有答案
相关问题