"Individual"이라는 클래스가 있는데, 프랑스어로되어 있습니다.생성자 C++
그리고 생성자에 문제가 있습니다.
individu::individu(int x, int y, std::vector<std::__cxx11::string> map) {
this->_x = x;
this->_y = y;
this->_map = map;
}
그냥 단순한 생성자입니다하지만 내 콘솔은 말한다 :
'__cxx11': the symbol to the left of a '::' must be a type
'표준 : __ cxx11 :: string' 무엇인가
수정 된 코드는 다음과 같다 것인가? 대신에'std :: string'을 사용하십시오 – CinCout
왜'std :: string' 대신에'std :: __ cxx11 :: string'을 사용하고 있습니까? – Holt
그래, 그냥 삭제 * __ cxx11 * – Ashwel