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>