#include #include #include #include #include #include #include #include using namespace std; #define DEB #define MAX_CHAR_SIZE 256 #ifdef DEB #define LOG(...) do { _write(file, __VA_ARGS__ ); } while(0) #else #define LOG(...) do {} while(0) #endif int file; int main() { wcout.imbue(std::locale("kor")); //int file; WCHAR buf[256] =L"dddd매크로"; WCHAR buf2[2]={0,}; WORD wd = 0xfeff; memcpy(buf2, &wd..