Lesson 54 Sticky fingersFirst listen and then answer the question.What two interruptions did the writer have?After breakfast, i sent the children to school and then i went to the shops.It was still early when i returned home.The children were at
506 Constant value Boolean -- A Boolean, i.e., a quantity found in a context that requires a Booleansuch as an argument to && or || or an if() or while() clause or ! was found to be a constantand hence will evaluate the same way each
Lesson 56 Faster than the soundFirst listen and then answer the question.How fast did the winning car go?Once a year, a race was held for old cars.A lot of cars entered into[for] this race last year and won[there was] a great of excitement just
最近想在對話方塊顯示圖片,這個是第一步。。從網上找了一些資料。。現在給出確認的代碼。其中還是有一些問題。問題不是代碼不能運行。是顯示的時候。有的問題。 VS2005 MFC + Win XP............ 包括了動態和靜態兩種方式,而且圖片有個局限性就是現在只能顯示位元影像。 OK, Three miles on, three miles
Lesson 57 Can i help you madam?First listen and then answer the question.Did the woman get what she wanted?A woman in jeans stood [at] the window of an expensive shop.Though she had taken it[hesitated 猶豫不決] for a moment, she finally went in and
今天在網上看到了些技術代碼(關於按鈕動態產生菜單的代碼.好象都是一個人寫的吧.幾乎都沒有什麼變化),於是邊拷貝代碼邊測試執行程式的結果,想不到碰到了麻煩,簡單的兩行代碼執行時居然出了十多行的error提示: Error 1 error C3872: '0x3000': this character is not allowed in an
//May.31..2009 the last day of May....//Code by sealplusplus for ParallelPort control..//Will used the inpout32.dll for ParallelPort...// Take: ParallelPort ID and bit.// Return: the ParallelPort station.//void _stdcall Out32(int PortAddress, int
WinCE對HDC的限制,其實是記憶體限制。多個24位HDC,很快會耗光記憶體。 這裡面CreateCompatibleBitmap第一個參數不能用dcMem,這樣的話建立的是黑白位元影像。考試大提示:如果你要建立彩色位元影像,需要用pDC,它用來建立了記憶體DC。 詳細請見下面的MSDN:When a memory device context is created, it initially has a 1-by-1 monochrome bitmap selected into it。
TextOut is not supported on CE , use DrawText or ExtTextOut http://www.bolingconsulting.com/progwince.htm ExtTextOut 函數功能:該函數用當前選擇的字型、背景顏色和本文顏色來繪製一個字串。可以提供一個可選的矩形,用於裁剪或作不透明物或兩者兼有。 函數原型:BOOL ExtTextOut(HDC hdc, int X, int Y, UINT fuOptions,
關於並口的一些東西。 This is About Paralllel Port(DB25) Comnector. IntroductionHi there, I was searching the web for a way to allow me to control electrical appliances using PC and I found it here. Here is a circuit (figure 1) for using the printer port of a