프로그램에 비슷한 오류가 있을 때. 。
Setting -gt; 만 열면 됩니다. C/c/c++ -gt;; Preprccessor -gt;; = = = = = 그런 다음 Preprocessor definitions 에서 try = _ _ try/d except = _ _ except/d leave = _ _ leave/d fix 를 넣습니다
본인 환경: VC++6.0
C: \ program files \ Microsoft visual studio \ vc98 \ include \ xstring (527): error c2059: syntax error
C: \ program files \ Microsoft visual studio \ vc98 \ include \ xstring (521): while compiling class-to Char, struct STD:: char _ traitslt; Chargt;; , class std::allocatorlt;; Chargt;; Gt; :: _Copy(unsigned int)'
C: \ program files \ Microsoft visual studio \ vc98 \ include \ xstring (527): error c2143: syntax error Before '{'
C: \ program files \ Microsoft visual studio \ vc98 \ include \ xstring (521): while compiling class-to Char, struct STD:: char _ traitslt; Chargt;; , class std::allocatorlt;; Chargt;; Gt; :: _Copy(unsigned int)'
Contrast.cpp
C: \ program files \ Microsoft visual studio \ vc98 \ include \ xstring (527): error c2059: syntax error
C: \ program files \ Microsoft visual studio \ vc98 \ include \ xstring (521): while compiling class-to Char, struct STD:: char _ traitslt; Chargt;; , class std::allocatorlt;; Chargt;; Gt; :: _Copy(unsigned int)'
C: \ p
Rogram files ₩ Microsoft visual studio ₩ vc98 ₩ include ₩ xstring (527): error c2143: syntaxerror: missing Before '{'
C: \ program files \ Microsoft visual studio \ vc98 \ include \ xstring (521): while compiling class-to Char, struct STD:: char _ traitslt; Chargt;; , class std::allocatorlt;; Chargt;; Gt; :: _Copy(unsigned int)'
Generating Code...
이상은 다른 사람에게서 전출되었지만, LZ 와 꼭 맞아야 합니다.