1. 개요
wcout 로 한글 출력하는 방법 설명
2. 본문
#include <locale>
#ifdef _UNICODE #define tcout wcout #else #define tcout cout #endif
int main() { wcout.imbue(locale("kor")); }
Post a Comment
No comments:
Post a Comment