Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
#include <cstdlib> using namespace std; /* * */ int main(int argc, char** argv) { cout << "COME AT ME BRO!\n" return 0; }
它说 cout 无法解析标识符
C++ 代码帮助设置正确,我只是不确定它可能是什么。
您没有包含<iostream>,因此该标识符std::cout从未在您的程序中声明或定义。
<iostream>
std::cout
您包含错误的头文件。它应该是 :
#include <iostream>