admin管理员组

文章数量:1278984

Everytime I (re-)install Dev-C++, compiling works the first time, but upon closing and reopening the IDE, the same error message appears:

Dev-Cpp\MinGW64\lib\gcc\x86_64-w64-mingw32\4.9.2\include\c++\ostream:564 expected unqualified-id before '<<' token
Dev-Cpp\MinGW64\lib\gcc\x86_64-w64-mingw32\4.9.2\include\c++\ostream:564 expected initializer before '<<' token

The exact input source file seems irrelevant; trivial code such as this triggers the issue:

#include <iostream>

using namespace std;

int main(){
    cout << "Olá mundo!";
    return 0;
}

本文标签: dev cincludecostream Error expected unqualifiedid before 39ltlt39 tokenStack Overflow