2012-10-08 4 views
0

내 프로젝트가 포함되지 않는 경우는 cstring입니다. 다음과 같은 오류가 발생합니다.Visual C++에서 CString을 사용하려고 할 때 구문 오류가 발생합니다.

Error 10 error C2061: syntax error : identifier 'using' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\cstring 18 1 fgdll 
    Error 95 error C2061: syntax error : identifier 'tanhf' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\cmath 26 1 fgdll 
    Error 93 error C2061: syntax error : identifier 'tanf' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\cmath 26 1 fgdll 
    Error 51 error C2061: syntax error : identifier 'strxfrm' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\cstring 26 1 fgdll 
    Error 49 error C2061: syntax error : identifier 'strtok' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\cstring 26 1 fgdll 
    Error 47 error C2061: syntax error : identifier 'strstr' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\cstring 25 1 fgdll 
... 

이 문제를 어떻게 해결할 수 있습니까?

답변

1

좋아,이 시도 :

오른쪽 코드의 각 부분을 클릭하고 이동 :

Properties>C/C++>Advanced>Compile As및 확인Compile as C++ Code(/TP)