古詩詞大全網 - 成語大全 - text啥意思

text啥意思

text的意思如下:

TEXT是Windows程序設計中經常會遇到的壹個宏。

如果使用UNICODE字符集, 則TEXT("This is a const string")相當於L"This is a const string", 如果使用ASCII集, 則上述字符串相當於“This is a const string.”。這樣, 寫的程序既可以使用UNICODE, 也可以使用ASCII, 增強了移植性。

在寫windows應用程序時, 如果您不確定使用UNICODE還是ASCII好, 那麽推薦您使用TCHAR來替代程序中的char和wchar_t,同時對於字符串常量使用TEXT宏(或宏)。

例句:

The text is precise and informative。

正文內容準確,信息量大。

The machine can recognise handwritten characters and turn them into printed text。

這種機器能夠識別手寫字體,並將其轉化為打印文本。