- Convert file (plain text) or clipboard content among the following
encodings: big5, gbk, hz, shift-jis, jis, euc-jp, unicode big-endian,
unicode little-endian, and utf-8.
- Batch files conversion
- Preview file content and converted result before actual conversion.
E:\Visual_C__MFC擴展編程實例 例18
動態地抓取應用程序的屏幕圖像并將其打印。
上一個實例打印的是文檔的報表,而不是當前出現在屏幕上的內容。在本例中,將實現
屏幕抓取并打印其內容。M F C 為打印視提供了有限的支持, 但只要用M F C 在
C Vi e w : : O n D r a w ( )中所提供的設備環境,就可以繪制自己的視。在打印視的時候, M F C只需調
用具備打印機設備環境的O n D r a w ( )函數即可。但是,如果不繪制自己的視,例如,用一個或
者一個以上的控件窗口填充自己的視就不會打印任何東西。每個控件將使用自己的設備環境
將自己打印到屏幕,因此打印視的唯一途徑就是抓取屏幕(拷貝其內容到一個位圖對象)并將其
打印到打印機。由于該功能整個與位圖相關,因此將該功能封裝到了位圖類中。
acm HDOJ 1051WoodenSticks
Description:
There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs some time, called setup time, for the machine to prepare processing a stick. The setup times are associated with cleaning operations and changing tools and shapes in the machine. The setup times of the woodworking machine are given as follows:
(a) The setup time for the first wooden stick is 1 minute.
(b) Right after processing a stick of length l and weight w , the machine will need no setup time for a stick of length l and weight w if l<=l and w<=w . Otherwise, it will need 1 minute for setup.
文本計算器是一款為經常需要使用計算器的工程項目人士而設計的軟件,該軟件使用簡單、方便。
當需要計算數據時,在窗口中輸入整個表達式(表達式可以是加+、減-、乘*、除/、平方^、括號(),以及數學函數組合),按回車后可自動計算出結果,計算方法一目了然,便于查找計算中可能出現的錯誤。
支持的數學函數:cos(), sin(), tg(), ctg(), abs(), sgn() or sign(), sqrt(), ln(),sh() or sinh(), ch() or cosh(), th() or tanh(),cth() or coth(), heaviside()
This designs uses a Nios II system to demonstrate how to read from the SD card. The software reads WAV files from the SD card and plays it through the LINE OUT line. Simply put a SD card into the slot on the board and connect some speakers to the LINE OUT port.Preparing the SD card
This book has been updated for the new Java version, J2SE 5.0, and works its way through a project with requirements and structure similar to the project you ll encounter in the SCJD exam