336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

#include <iostream>

using namespace std;

#include <atlstr.h>


int main()

{

char* src = "한글"; // ANSI CP949

CA2W unicode1(src); // ANSI -> UNICODE


CW2A utf8(unicode1, CP_UTF8); // UNICODE -> UTF8

CA2W unicode2(utf8, CP_UTF8); // UTF8 -> UNICODE

CW2A ansi(unicode2); // UNICODE -> ANSI

CW2A ansi2(CA2W(utf8, CP_UTF8));


printf("%s\n", src);

printf("%s\n", unicode1);

printf("%s\n", utf8);

printf("%s\n", unicode2);

printf("%s\n", ansi);

printf("%s\n", ansi2);


return EXIT_SUCCESS;

}


use above


Posted by 역시인생한방
,