用VS2015社区版建VC++时出现“cout未定义标识符,endl未定义标识符”。请问如何处理。
#include <iostream>
void main()
{
cout<<"hello world"<<ende;
}
你前面加入
using namespace std; 试一下