純C/C++印出(Unicode)中文 [cpp_printf_Unicode]
純C/C++印出(Unicode)中文 [cpp_printf_Unicode]
GITHUB: https://github.com/jash-git/cpp_printf_Unicode.git
code
#include <iostream> #include <cstdio> #include <cstdlib> using namespace std; void Pause() { printf("Press Enter key to continue..."); fgetc(stdin); } int main() { setlocale(LC_ALL,"Chinese_Taiwan.950"); printf("%s\n","´ú¸Õ printf %s (¼e¦r¤¸´ú¸Õ)"); Pause(); return 0; }