亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? apivsmfc.html

?? This tutorial attempts to get you started developing with the Win32 API as quickly and clearly as po
?? HTML
字號:
<HTML><LINK HREF="style.css" REL="STYLESHEET" TYPE="text/css"><HEAD><TITLE>Win32 Tutorial - Why you should learn the API before MFC</TITLE></HEAD><BODY><FONT SIZE="-1">[ <A HREF="./index.html">contents</A>| <A HREF="http://www.winprog.org/">#winprog</A>]</FONT><HR><H1>Why you should learn the API before MFC</H1><H2>The Controversy</H2>Too many people come on to IRC and ask "What is better, MFC or API?" and too many peopleare willing to say "MFC sucks" or "API sucks" either because of traumatic events involving one or the other in early childhood, or because everyone else is saying it.<P>The standard arguments are:<UL><LI>API is too hard<LI>MFC is too confusing<LI>API is too much code<LI>MFC is bloated<LI>API doesn't have wizards<LI>MFC is badly designed<LI>API isn't Object Oriented<LI>MFC kicked my dog<LI>API stole my girlfriend</UL>And so on...<H2>My Answer</H2>My opinion, although by no means the only one, is that you should use the right frameworkfor the right job.<P>First of all a clarification on what the API and MFC are.  API is a generic term meaningApplication Programming Interface, however in the context of Windows programming, it meansspecifically the Windows API, which is the lowest level of interaction between applicationsand the windows operating system.  Drivers of course have even lower levels, and differentsets of function calls to work with, but for the vast majority of windows development this is not an issue.  MFC is a <I>Class Library</I>, it's a bunch of C++ classes that have beenwritten to reduce the amount of work it takes to do certain things with the API.  It alsointroduces an (arguably) Object Oriented framework into the application that you can eithertake advantage of or ignore, which is what most beginners do since the framework isn'treally aimed at writing MP3 players, IRC clients or games.<P>Every program, whether it is written with MFC, Delphi, Visual Basic, perl, orany other wacked out language or framework you can think of, is eventually built upon the API.  In many cases this interaction is hidden, so you don't deal directly with theAPI, the runtime and support libraries do it for you.  Some people ask, "MFC can do Blah Blah Blah, can the API?"  The answer is that MFC can only do what the API can do, because it's built on top of it.  However doing things yourself with the API may take considerablymore code than using the pre-written MFC classes.<P>So what is the right framework?  For starters, for people that are just learning to program,I strongly believe that you should work with the API untill you are comfortable with theway windows applications work and you understand all of the basic mechanics behind things likethe message loop, GDI, controls, and maybe even multithreading and sockets.  This wayyou will understand the fundamental building blocks of all windows applications, and canapply this common knowledge to MFC, Visual Basic, or whatever other framework you choose to work with later.  It's also important because these other frameworks don't support everythingthat the API does, simply because it does a whole lot and they can't necessarily supportall of the arcane little things that most people won't use.  So when you finally do needto use them you need to add it yourself, you can't rely on the framework to do it for youand if you don't understand the API this could be quite the chore.<P>But isn't MFC easier?  In a certain sense it's easier in that many common tasks are done foryou, thus reducing the amount of code that you need to actually type.  However, less codedoes not mean "easier" when you don't understand the code you DO need to write, or howall of the code that is there to support you actually works.  Generally beginnerswho use the wizards to start there applications have no idea what most of the generatedcode does, and spend a great deal of time trying to figure out where to add things, orwhat changes to make to acheive a certain result.  If you start your programs from scratch,either in the API or with MFC, then you know where everything is because you put it there, and you will only use features that you understand.<P>Another important factor is that most people that are learing the Win32 API for the firsttime don't already have a strong base in C++.  To try and comprehend windows programmingwith MFC and learn C++ at the same time can be a monumental task.  Although it's not impossible, it will take you considerably longer to become productive than if you alreadyknew either C++ or the API.<H2>So basically...</H2>What it comes down to is that I think you should learn the API untill you feel comfortable with it, and then try out MFC.  If it seems like it's making sense to you and saving youtime, then by all means use it.<P><B>However, and this is important</B>... if you work with MFC without understanding the APIand then ask for help with something, and the answer you get is stated using the api (suchas "Use the HDC provided in the WM_CTLCOLORSTATIC message") and you say "huh?" because you don't know howto translate an API subject into MFC on your own, then you are in trouble and people willget frustrated with you for not learning what you need to know before you try and use MFC.<P>I personally prefer to work with the API, it just suitsme better, but if I were to write a database frontend, or a host for a set of ActiveX controls I would seriously consider using MFC, as it would eliminate a lot of code thatI would need to reinvent otherwise.<HR><FONT SIZE="-1">Copyright &copy; 1998-2003, Brook Miles (<A HREF="mailto:forger(nospam)winprog.org">theForger</A>).  All rights reserved.</FONT><SCRIPT language="JavaScript"><!--   var re = /\(nospam\)/ig;   var str;   for(i = 0;i < document.links.length;i++)    {      str = "" + document.links(i).href;      if(str.search(re) != -1)         document.links(i).href = str.replace(re, "@");      str = "" + document.links(i).innerHTML;      if(str.search(re) != -1)         document.links(i).innerHTML = str.replace(re, "@");   }--></SCRIPT></BODY></HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
另类调教123区| 亚洲高清久久久| 欧美视频一区二区在线观看| 国内精品视频一区二区三区八戒| 亚洲一区二区欧美激情| 最新中文字幕一区二区三区| 欧美激情综合五月色丁香 | 亚洲午夜精品在线| 国产精品理论片在线观看| 久久综合国产精品| 精品久久国产字幕高潮| 欧美一区二区性放荡片| 777xxx欧美| 日韩欧美美女一区二区三区| 日韩精品一区二区三区三区免费| 91精品国产一区二区三区蜜臀| 欧美在线免费视屏| 欧美区在线观看| 在线综合视频播放| 精品少妇一区二区三区免费观看| 欧美一区二区在线看| 欧美本精品男人aⅴ天堂| 精品人伦一区二区色婷婷| 久久日韩精品一区二区五区| 久久婷婷久久一区二区三区| 久久久久国色av免费看影院| 国产精品美女一区二区| 亚洲人精品午夜| 五月综合激情婷婷六月色窝| 麻豆一区二区三区| 成人高清视频在线观看| 欧美亚洲日本国产| 日韩精品中文字幕一区| 日本一区二区三区视频视频| 国产精品二三区| 亚洲狠狠爱一区二区三区| 免费成人美女在线观看| 懂色av一区二区三区蜜臀| 97se亚洲国产综合在线| 欧美老肥妇做.爰bbww| wwwwww.欧美系列| 最新国产成人在线观看| 日日摸夜夜添夜夜添精品视频 | 中文字幕日本不卡| 亚洲自拍偷拍图区| 精品一区二区影视| 91免费观看视频| 91精品国产欧美一区二区18| 久久先锋资源网| 亚洲女子a中天字幕| 久久国产三级精品| 色视频成人在线观看免| 精品免费国产二区三区| 亚洲欧美福利一区二区| 国产在线观看免费一区| 欧美色图第一页| 日本一区二区三区dvd视频在线| 一区二区三区日韩欧美精品| 国内成人免费视频| 欧美三区在线视频| 国产精品情趣视频| 蜜桃在线一区二区三区| 91蝌蚪porny九色| 久久精品在这里| 蜜臀av一级做a爰片久久| 91女神在线视频| 久久精品这里都是精品| 日本欧洲一区二区| 欧洲亚洲精品在线| 国产精品成人一区二区三区夜夜夜| 免费在线视频一区| 欧美性受xxxx| 亚洲精品国产高清久久伦理二区| 国产黄色精品网站| 日韩美女在线视频| 日一区二区三区| 在线视频一区二区三区| 国产精品妹子av| 国产麻豆成人精品| 欧美精品一区二区三区蜜桃视频 | 91热门视频在线观看| 久久精品人人爽人人爽| 精品午夜久久福利影院| 日韩午夜av一区| 亚洲成人av一区| 精品视频资源站| 午夜欧美大尺度福利影院在线看| 色婷婷香蕉在线一区二区| 中文字幕日本不卡| 成人18视频在线播放| 国产精品女人毛片| 99久久夜色精品国产网站| 国产精品美女久久久久高潮| 粉嫩av亚洲一区二区图片| 国产欧美一区二区精品忘忧草| 国产一区二区视频在线| 久久久久久免费网| 高清成人在线观看| 亚洲国产激情av| www.99精品| 亚洲综合色丁香婷婷六月图片| 欧美体内she精高潮| 亚洲国产综合在线| 欧美一区二区不卡视频| 久久er99热精品一区二区| 精品久久久久久久久久久久久久久久久 | 国产精品久久久久桃色tv| 国产宾馆实践打屁股91| 亚洲三级久久久| 精品视频123区在线观看| 天天av天天翘天天综合网色鬼国产| 91精品1区2区| 热久久国产精品| 亚洲精品一区二区三区精华液 | 久久亚洲精品小早川怜子| 国产夫妻精品视频| 亚洲视频免费看| 欧美伦理视频网站| 激情综合网激情| 日韩美女视频一区| 欧美老年两性高潮| 国产成人午夜片在线观看高清观看| 国产精品免费视频网站| 91成人在线免费观看| 欧美aⅴ一区二区三区视频| 久久色.com| 91福利资源站| 国产一区二区三区四区五区美女 | 精品国产青草久久久久福利| 丰满放荡岳乱妇91ww| 亚洲在线视频网站| 久久色中文字幕| 欧美日韩一级大片网址| 国产成人综合视频| 亚洲午夜免费福利视频| 精品盗摄一区二区三区| 色噜噜狠狠色综合中国| 激情五月激情综合网| 洋洋av久久久久久久一区| 亚洲精品一区二区三区影院| 在线免费精品视频| 处破女av一区二区| 麻豆一区二区三| 一区二区在线免费| 日本一区二区三区在线不卡| 欧美一区三区四区| 一本久久a久久免费精品不卡| 久久国产免费看| 亚洲gay无套男同| 日韩毛片在线免费观看| 久久久一区二区三区| 欧美久久久久免费| 91丨九色丨蝌蚪富婆spa| 精品中文字幕一区二区小辣椒| 亚洲国产一区二区视频| 亚洲视频一二三区| 中文字幕成人av| www欧美成人18+| 日韩免费性生活视频播放| 91久久奴性调教| 国产v综合v亚洲欧| 国产一区二区不卡老阿姨| 日本亚洲最大的色成网站www| 一区av在线播放| 亚洲三级久久久| 日韩码欧中文字| 国产精品区一区二区三区| 欧美大胆一级视频| 777午夜精品免费视频| 欧美三级午夜理伦三级中视频| 93久久精品日日躁夜夜躁欧美| 国产一区二区在线免费观看| 捆绑紧缚一区二区三区视频| 视频一区中文字幕| 视频在线观看一区| 视频一区二区三区在线| 天堂影院一区二区| 日韩专区欧美专区| 婷婷综合久久一区二区三区| 亚洲成人7777| 青青草国产成人99久久| 日本系列欧美系列| 免费日本视频一区| 精品一区二区三区视频在线观看 | 亚洲一区免费观看| 亚洲第一会所有码转帖| 亚洲成人动漫在线观看| 日韩国产精品91| 蜜桃视频一区二区三区在线观看| 日韩精品高清不卡| 伦理电影国产精品| 国产精品一卡二卡| 大胆欧美人体老妇| 色网综合在线观看| 欧美亚男人的天堂| 日韩一区二区三区在线观看| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 精品一区二区三区视频在线观看| 蜜桃av一区二区| 国产a级毛片一区|