Code::Blocks의 중국어 질문

1335 단어
Code::Blocks의 중국어 질문
Quote of the Day:
When something can be read without effort, great effort has gone into its writing.
--Enrique Jardiel Poncela
 
간략화를 위해 절차는 주제와만 관련된다.
 #includeusing namespace std;int main(int argc,char**argv) {cout <<"English"<<< endl;wcout < L "중문"< endl;return0;
1) build log:
“converting to execution character set: Illegal byte sequence” -finput-charset= charset
Set the input character set, used for translation from the character set of the input file to the source character set used by GCC. If the locale does not specify, or GCC cannot get this information from the locale, the default is UTF-8. This can be overridden by either the locale or this command line option. Currently the command line option takes precedence if there's a conflict. charset can be any encoding supported by the system's iconv library routine.
위에서 설명한 바와 같이 locale을 지정하지 않거나 GCC가 현장 정보를 얻지 못할 경우 기본적으로 UTF-8로 인코딩됩니다.동시에 설정도-finput-charset= charset 옵션에 지정된 설정 무시 - 이 옵션을 우선적으로 사용합니다.
 
 
더하기
 
2) build log:
“error: `std::wcout' has not been declared” 
 
한참 동안 조사했지만 결과가 만족스럽지 못했는데, 밍W gcc가 당분간 wostream을 지원하지 않는다고 한다.
 

좋은 웹페이지 즐겨찾기