在第一章里,例子程序HelloCE調用DrawText函數顯示了一行文本。代碼如下: DrawText (hdc, TEXT ("Hello Windows CE!"), -1, &rect, DT_CENTER | DT_VCENTER | DT_SINGLELINE) DrawText 是一個相當高級的函數,允許由程序顯示文本,而由Windows處理大部分細節。DrawText的頭幾個參數幾乎是不言而喻,很直觀。當前正在使用的設 備環境句柄被傳入,同時傳入的還有被TEXT宏包圍的用來顯示的文本,聲明成Unicode字符串是為了符合Windows CE的需要。
標簽:
上傳時間: 2016-05-15
上傳用戶:zhichenglu
This program prints a calendar for a year specified. The user enters a year for the calendar and the programs automatically prints the calendar in text format.
標簽: calendar year for specified
上傳時間: 2016-05-25
上傳用戶:hwl453472107
This book code procedure according to the chapter arrangement, the 1st chapter of example under "1" the table of contents, the 2nd chapter of example under "2" the table of contents, to the order analogizes. Under corresponding table of contents including Java source code document and by it correspondence translation class document. The reader may use software and so on the text editor opens the Java source code document, examines this book the detailed code. 13th chapter the code defers to the project project laying aside. May directly use NetBeans to open the project document to carry on the code examination.
標簽: chapter arrangement according procedure
上傳時間: 2014-11-01
上傳用戶:希醬大魔王
segment,一個簡單的中文分詞程序,命令行如下: java -jar segmenter.jar [-b|-g|-8|-s|-t] inputfile.txt -b Big5, -g GB2312, -8 UTF-8, -s simp. chars, -t trad. chars Segmented text will be saved to inputfile.txt.seg
上傳時間: 2014-01-04
上傳用戶:ynzfm
Tasks Read the textbook about the details of Vigenére Cipher. Implement the algorithm by C or C++. Requirements You do this lab in a group of two students. Your program should have input and output as follows: csci>a.out --> Please input the key: receptive --> Please input the plain text: wearediscoveredsaveyourself --> The cipher text is : nicvtwqngfzgvtwavzvcqyglmgj -->The original message is: wearediscoveredsaveyourself • You should test your program with several runs.
標簽: the Implement algorithm textbook
上傳時間: 2013-12-21
上傳用戶:bruce5996
The FastICA package is a free (GPL) MATLAB program that implements the fast fixed-point algorithm for independent component analysis and projection pursuit. It features an easy-to-use graphical user interface, and a computationally powerful algorithm.
標簽: fixed-point implements algorithm FastICA
上傳時間: 2014-08-17
上傳用戶:yy541071797
SourceModeling 這個java程序可以統計出給出的txt文本中所有的英文字母和使用的字符出現的字數并顯示出來,使用ASCII碼讀取。(之后可以使用這個代碼進行Huffman編碼的基礎) 2.2 DecOfInd.txt 為被統計的文檔。SM.java為統計的java程序。 SM.class是SM.java生成的類文件。 compute.txt是輸出結果到屏幕后的信息text復制。
標簽: SourceModeling java txt 程序
上傳時間: 2016-06-07
上傳用戶:qiao8960
HuffmanDecoder 使用java編寫的Huffman解碼器,通過讀取HuffmanEncoder產生的DecOfInd.huf編碼文件,進行解碼從而恢復成可讀取的原文件。配合HuffmanEncoder使用。此處使用的是指定的text文件,可自行更改。
標簽: HuffmanDecoder Huffman java 編寫
上傳時間: 2014-08-20
上傳用戶:epson850
在IDL的文本框中,沒有提供掩碼的功能,該功能在Visual Studio里面已提供,而有時,如界面登錄時,必需要求具備該功能。本程序正是為IDL的Text對話框實現輸入文本的掩碼功能。
標簽: IDL
上傳時間: 2016-06-12
上傳用戶:cc1015285075
Web-Harvest是一個Java開源Web數據抽取工具。它能夠收集指定的Web頁面并從這些頁面中提取有用的數據。Web-Harvest主要是運用了像XSLT,XQuery,正則表達式等這些技術來實現對text/xml的操作。測試版本。
標簽: Web-Harvest Web XQuery Java
上傳時間: 2013-12-16
上傳用戶:luopoguixiong