複製鏈接
請複製以下鏈接發送給好友

text

(英文單詞)

鎖定
TEXT,是一個英文單詞,是Windows程序設計中經常會遇到的一個宏。
中文名
text
概    念
程序設計中經常會遇到的一個宏
定義位置
winnt.h
特    點
增強了移植性

text定義位置

winnt.h。

text説明

TCHAR*ptch=TEXT("Thisisaconststring.");
如果使用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宏(或_T宏)。

text英文單詞

n.文本,原文;課文,教科書;主題;版本
vt. 發短信 [1] 
例句:
The text is precise and informative.
正文內容準確,信息量大。
The machine can recognise handwritten characters and turn them into printed text
這種機器能夠識別手寫字體,並將其轉化為打印文本。
A spokesman said a text of Dr Runcie's speech had been circulated to all of the bishops.
一位發言人説,朗西博士的演講稿已經分發給所有主教了。
Her text is believed to be the oldest surviving manuscript by a female physician.
她的文獻據信是現存最古老的、由女性內科醫生留下的手稿。
I'll read the text aloud first
我先朗讀一下課文。
I borrowed my wife's mobile phone last week and a text arrived from another man.
我上週借我老婆的手機用,收到一個男人發來的短信。
Mary texted me when she got home.
瑪麗到家後給我發了條短信。
His early plays are set texts in universities.
他早期的戲劇作品現在是大學指定課文。
The text fills 231 pages.
正文佔了231頁。
We have omitted footnotes which we judged inessential to the text.
我們略掉了我們認為對正文不甚緊要的腳註 [1] 

text用法説明

1.text用作名詞的基本意思是“正文,本文”,指全書中與註釋、圖解、插圖等相對而言的主體部分,既可用作可數名詞,也可用作不可數名詞
2.text也可指“(演説、文章等的)原文、全文”,只用作可數名詞。
3.text還可作“版本”“教科書,課本”“《聖經》詞句”等解,既可用作可數名詞,也可用作不可數名詞。
4.text用作動詞的基本意思是“發短信”,通常指一個人給另一個人發短信,也可指自己給自己發短信。
5.text既可用作及物動詞,也可用作不及物動詞。用作及物動詞時,接名詞、代詞作賓語。

text雙語例句

  • 1How can I wrap the text around?我怎麼才能使文本換行呢?《牛津詞典》
  • 2I'll text you the final score.我會發短信告訴你最終的比分。《牛津詞典》
  • 3The text is dotted with digressions.文本中到處是離題話。《柯林斯英漢雙解大詞典》
  • 4We need to become critical text-readers.我們需要成為批判性的文本閲讀者。《柯林斯英漢雙解大詞典》
  • 5Burton's text is concise and informative.伯頓的文章文字簡潔、內容豐富。《柯林斯英漢雙解大詞典》
  • 6The text varies from the earlier versions.這一文本有別於那些早期的版本。《柯林斯英漢雙解大詞典》
  • 7This function allows you to cut and paste text.本功能可使你剪切並粘貼文本。《牛津詞典》
  • 8Unfortunately, the text is sprinkled with errors.遺憾的是,文本有零星的錯誤。《柯林斯英漢雙解大詞典》
  • 9Future lawyers could study this text with profit.未來的律師研讀這一文本也許會有裨益。《牛津詞典》
  • 10Text and pictures can be scanned into the computer.文字和圖畫可以掃描進計算機。《牛津詞典》
  • 11Text and graphics are printed at 300 dots per inch.文字和插圖按每英寸300個點的密度打印。《牛津詞典》
  • 12One CD-ROM disk can hold over 100,000 pages of text.一張CD光盤能容納10萬多頁的文字資料。《柯林斯英漢雙解大詞典》
  • 13I text-messaged him to say we were waiting in the pub.我發短信告訴他我們在酒吧裏等候。《牛津詞典》
  • 14This text illuminates the philosopher's early thinking.這篇課文解釋了這位哲學家的早期思想。《牛津詞典》
  • 15There had been a hurried overnight redrafting of the text.該文本被連夜做了改寫。《柯林斯英漢雙解大詞典》
  • 16The text wraps around if it is too long to fit the screen.如果文本太長,在顯示屏放不下的話,會自動換行。《牛津詞典》
  • 17Text and graphics are prepared separately and then combined.文字和圖分別編排後再進行混排。《牛津詞典》
  • 18The definitive version of the text is ready to be published.正式的文本很快就要發表了。《牛津詞典》
  • 19Two fourteenth-century manuscripts of this text are still extant.該文本的兩份十四世紀的抄本仍然存世。《柯林斯英漢雙解大詞典》
  • 20We examine the wording in detail before deciding on the final text.我們詳細檢查了措辭,才確定了最終文本。《柯林斯英漢雙解大詞典》
  • 21The program counts the number of occurrences of any word, within the text.這個程序可以統計任何單詞在文本中出現的次數。《牛津詞典》
  • 22The machine can recognize handwritten characters and turn them into printed text.這台機器能識別手寫的文字並將其轉換為打印文本。《柯林斯英漢雙解大詞典》
  • 23I'll send you a text message.我會給你發一條短信。《牛津詞典》
  • 24The text is all in lower case.正文一律用小寫字體。《牛津詞典》
  • 25Text me when you're on your way.路上給我發短信吧。《牛津詞典》
  • 26'Macbeth' is a set text this year.《麥克佩斯》是今年指定的必讀劇目。《牛津詞典》
  • 27I tapped out a text message to Mandy.我給曼迪發了一條短信。《牛津詞典》
  • 28He undertook to edit the text himself.他承諾親自編輯正文。《柯林斯英漢雙解大詞典》
  • 29The text on the disk seems to be corrupt.這張磁盤上的文件好像有錯誤。《牛津詞典》
  • 30The text is banal.這篇文章乏味得很。《柯林斯英漢雙解大詞典》 [1] 
參考資料
  • 1.    text  .百度翻譯[引用日期2017-07-21]