error C2679: binary \'=\' : no operator defined which takes a right-hand operand of type \'struct ListNode\' (or there is no acceptable conversion)
error C2819: type \'ListNode\' does not have an overloaded member \'operator ->\'
see declaration of \'ListNode\'
error C2227: left of \'->llink\' must point to class/struct/union
늘 하던대로 해서 될것 같았는데
이런게 뜨네
헤더파일이 잘못된건가?
error C2819: type \'ListNode\' does not have an overloaded member \'operator ->\'
see declaration of \'ListNode\'
error C2227: left of \'->llink\' must point to class/struct/union
늘 하던대로 해서 될것 같았는데
이런게 뜨네
헤더파일이 잘못된건가?
에러구문은 네이버가 더 빠르다니까요..
아무뜻 없어. 그냥 니가 잘못한거야. 무조건 니가 잘못한거야.
error C2679: binary \'=\' : no operator defined which takes a right-hand operand of type \'struct ListNode\' (or there is no acceptable conversion)
대부분 이에러는 <<를 사용하는 cout 이나 cin 함수에서 발생 할 것이다.에러를 해석해보면 <<operater이 정의가 안되 있다고 나오는데 이것은<< operater 뒤에 나오는 변수가 정의 되지 않았을때다.대부분의 경우 string을 include하지 않아서 발생하는 것이다.자바의 경우 string을 import 하지 않아도 사용 가능하지만C,C++ 에서는 string을 include 해야 사용 가능하다C: #include<string.h>C++: #include<string>
범고래는 뭐닝? -_-;;....아무튼 VS는 마우스 가따대면 변수들 타입 보여주지 않나? 타입을 확인해 보라능
포인터 문제일듯