wwwxxxx日本,国产精品九九,日日夜夜免费视频,亚洲无av码在线中文字幕

windows編程模式------外文翻譯.doc

約15頁DOC格式手機(jī)打開展開

windows編程模式------外文翻譯,no matter which development tools you use, programming for windows is different from old-style batch-oriented or transaction-oriented programming. to get starte...
編號:16-213311大小:51.00K
分類: 論文>外文翻譯

內(nèi)容介紹

此文檔由會(huì)員 wanli1988go 發(fā)布

No matter which development tools you use, programming for Windows is different from old-style batch-oriented or transaction-oriented programming. To get started, you need to know some Windows fundamentals. As a frame of reference, we'll use the well-known MS-DOS programming model. Even if you don't currently program for plain MS-DOS, you're probably familiar with it.
Message Processing
When you write an MS-DOS-based application in C, the only absolute requirement is a function named main. The operating system calls main when the user runs the program, and from that point on, you can use any programming structure you want. If your program needs to get user keystrokes or otherwise use operating system services, it calls an appropriate function, such as getchar, or perhaps uses a character-based windowing library.
When the Windows operating system launches a program, it calls the program's WinMain function. Somewhere your application must have WinMain, which performs some specific tasks. Its most important task is creating the application's main window, which must have its own code to process messages that Windows sends it. An essential difference between a program written for MS-DOS and a program written for Windows is that an MS-DOS-based program calls the operating system to get user input, but a Windows-based program processes user input via messages from the operating system.
Windows編程模式
無論使用哪一種開發(fā)工具,在Windows環(huán)境下編成都不同于舊式的面向批處理或者面向事務(wù)處理的編程。在開始前,需要了解一些Windows基本知識。作為參考。我們將使用眾所周知的MS-DOS程序,也可能熟悉它。
消息處理
當(dāng)用C語言編寫基于MS-DOS的應(yīng)用程序時(shí),唯一絕對需要的是一個(gè)名為main的函數(shù)。當(dāng)用戶運(yùn)行程序時(shí),操作系統(tǒng)調(diào)用main,并且,從這里開始,可以使用任何需要的編程結(jié)構(gòu)。如果程序需要獲得用戶鍵擊或者使用操作系統(tǒng)服務(wù),他便調(diào)用適當(dāng)?shù)暮瘮?shù),例如getchar,或者可能使用一個(gè)基于字符的窗口庫。
三级小说视频| 在线观看www黄优质| 午夜福利站| 开心五月播播| 先锋影音一区二区三区| 亚洲男女性爱天使AV| 99久久精品免费精品国产| xxx2高清在线观看免费视频| 日韩中文字幕再现一区| 乱女乱妇熟女熟妇综合网站| 色图网五月社区| 日本中文资源网官网| 四川性一交一乱一乱一视频| 国产经典人交AV| 日bb视频| 国产a不卡| 高清欧美日韩在线| 91精品在线观看视频| 99视频久久| 在线视频乳| 超碰成人网| 亚洲中文一区二区| 日韩人妻无码视频大全| 办公室被绑奶头调教羞辱OL| 久久亚洲精彩视频| 九九热精品| 动漫无码AV| 无码内射中文| 亚洲婷婷日本| 宗合久久| 色色桃| 91av在线播放| 久久久天海翼三区四区| 亚洲不卡高清五码| 人妻无码熟妇乱又伦精品视频| 中文AV电影| 少妇xx| ww黄片| 久久亚洲成人网| 精品视频在线免观看| 红桃国产传媒网站入口|