以下是引用片段: <!--[if !supportEmptyParas]--> <!--[endif]--> |
以下是引用片段: */ <!--[if !supportEmptyParas]--> <!--[endif]--> #include "stdafx.h" #include "HZEncode.h" <!--[if !supportEmptyParas]--> <!--[endif]--> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #define UNICODE #define _UNICODE ///////////////////////////////////////////////////////////////////////////// // The one and only application object <!--[if !supportEmptyParas]--> <!--[endif]--> CWinApp theApp; <!--[if !supportEmptyParas]--> <!--[endif]--> using namespace std; unsigned short* ptr; char* pszHZ = "啊"; byte BT[] = {0xc4,0xe3,0xBA,0xC3};//“你好”的机内码 int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) { int nRetCode = 0; <!--[if !supportEmptyParas]--> <!--[endif]--> // initialize MFC and PRint and error on failure if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0)) { // TODO: change error code to suit your needs cerr << _T("Fatal Error: MFC initialization failed") << endl; nRetCode = 1; } else { for (int i = 16;i <= 55; i++) { byte Temp[3]; Temp[2] = 0; Temp[0] = i + 0xA0; for (int j = 1;j < 94;j++) { Temp[1] = j + 0xA0; cout << (LPCTSTR) Temp; } cout << endl; } <!--[if !supportEmptyParas]--> <!--[endif]--> } <!--[if !supportEmptyParas]--> <!--[endif]--> system("pause"); return nRetCode; } <!--[if !supportEmptyParas]--> <!--[endif]--> <!--[if !supportEmptyParas]--> <!--[endif]--> |
新闻热点
疑难解答