?? codingconv.h.svn-base
字號:
// CodingConv.h: interface for the CCodingConv class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(CODINGCONV_H__INCLUDED_)
#define CODINGCONV_H__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CCodingConv
{
public:
// buf - 目標(biāo)緩沖區(qū)
// buf_len - 目標(biāo)緩沖區(qū)尺寸
// src - 原始碼
// 返回值為轉(zhuǎn)換后的目標(biāo)字節(jié)數(shù)
static int GB2312_2_UTF8(char* pszDstBuf, int nBufLen, const char* pszSrc, int nSrcLen = 0);
static int UTF8_2_GB2312(char* pszDstBuf, int nDstLen, const char* pszSrc, int nSrcLen = 0);
//private:
// CCodingConv();
// virtual ~CCodingConv();
};
#endif // !defined(CODINGCONV_H__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -