1、毕业设计(论文)外文翻译 1 MFC Programming and C + + related technologies MFC, Microsoft Foundation Classes (Microsoft Foundation Classes), is actually provided by Microsoft for the C + + environment for writing applications in a framework and engine, VC + + is to Windows, developers use professional C + + SDK
2、(SDK, Standard SoftWare Develop Kit, professional software development platform), MFC is hung on it a supporting software development kit, MFC, as with the VC + + flesh and blood portion (Note C + + and VC + + differences: C + + is a programming language, is a we acknowledge the preparation of the g
3、eneral specification of software, and VC + + is a compiler, or a compiler + source code editor IDE, WS, PlatForm, which Pascal and Delphis relationship with a truth, Pascal was the language of Delphi basic, Delphi Pascal specification for use under Win application development and compilation, but VB
4、 is different from the relationship between language and Basic, Basic language is developed in VB applications language has become the new norm Basic, VB newly added Basic language elements, such as the elements of object-oriented programming is a qualitative leap forward, so that both a VB IDE, and
5、 grow into a new programming language), MFC integration with BC + + VCL is a non-plug type as package, class library, but Microsoft MFC class is designed for the distribution of VC + + . Win API and MFC is a combination of C + +, API, that Microsofts Windows, the application programming language int
6、erface, is a software programming specifications, but is not a programming language itself, can allow users to use a variety of third parties (such as the I side, Microsoft is a party, Borland is the third party to) programming language for applications on Windows, the development of these applicati
7、ons were developed to run in Windows, such as VB, VC + +, Java , Delhpi essentially all of the programming language function from the API, so using them to develop applications that can work out the message in the Windows system and graphics, the compliance with Windows as an operating systems inter
8、nal implementation, it is also a necessity, Microsoft If you do not provide API, this world of Windows programming job would not exist, Microsofts product will quickly become a garbage from the fashion, the above mentioned API function, MFC is a Microsoft proprietary C + + package, which allows user
9、s to combine the one hand, Microsofts Professional C + + SDK for Windows, application development easier, because MFC is the API package, Microsoft has done a lot of work, hiding a lot of application developers in Windows, using C + + & MFC preparation software for a large number of the section, suc
10、h as the implementation of the message processing applications, equipment, environmental graphics, this combination is convenient for the purpose, we must pay the price (which is Microsofts style has always been), and therefore created a MFC class in the package of a certain degree of redundancy and
11、 circuitous, but this is acceptable . 毕业设计(论文)外文翻译 2 Finally, understand that MFC is not just a function of simple interface development system, which provides most of the classes used to interface development, associated with a window of the action, but it provides a lot of class in the class is no
12、t associated with a window that the categories The role is not an interface class does not implement the control of a window object (such as the creation, destruction), but some in Windows (using MFC vast majority of programs written to run in Windows) to implement the internal processing of the cla
13、ss, such as database management etc., the study should be most time consuming is the message and the device environment, C + + and MFC to learn the most difficult part is the pointer, C + + object-oriented programming in other parts, such as data types, flow control both is not difficult, it is reco
14、mmended to learn C + + version of the data structure. MFC encapsulates Microsofts API. What does that mean? As a provider of powerful windows application programming interface to the operating system, programmers do a lot of convenience, the traditional win32 development (direct interface functions
15、with windows API) for programmers is very difficult because, API functions too more, and the name of the mess, from zero to a window frame is easily hundreds of lines of code. MFC is the object-oriented programming and the perfect combination of Application framework, he would have been classified i
16、n the traditional API package, and created a program for you general framework MFC is WindowsAPI package, which greatly simplifies our work; learn VC is mainly to learn MFC, there are about 100 classes, but also commonly used in twenty or thirty. Back four words should be the same as those commonly
17、used in class get to know; of course, do not memorize, to help by looking to see examples, hands-on exercises to learn them; Moreover, not every class have to learn all the functions within, to accumulate. If you really want to be a master, to be a laptop think it is important to their classes, func
18、tions, down, ready to learn, but also a good spot method. Programming Advantages With the innovation of programming languages, MFC shortcomings become increasingly prominent. The most important entry barrier is higher relative to other languages, but also to complete a task relatively large amount o
19、f code. The original advantages, such as running speed, etc., but also because of other programming languages and personal computers continue to improve computing speed increases appear less prominent. MFC seems bad to worse. MFC is really no advantage, but it? No, the face of the underlying process
20、, it is very easy with the combination of Windows API or driver is in your own code to use API functions directly, while the API and driver information are based on C language-based, which makes VC programmers 毕业设计(论文)外文翻译 3 to more easily use Windows API. This has a very interesting phenomenon, tha
21、t is, when the VC started to pay more to the programmer to learn, but once mastered, the development of other areas of the program or using third-party software, such as industrial control procedures, the underlying The programs are written in C language, but rather VC programmers can quickly grasp
22、the field of programming. And many other programming languages can not even find relevant information. This shows that VC (MFC) is actually an entry difficult, but very easy to learn the language extension framework. If only limited to one area, then VC is no advantage at all, but if you develop a n
23、ew field of application or the program involves a number of application areas, it can reduce the frequency of repetition and difficulty, VC (MFC) of the benefits will immediately apparent. Language development C + + language development can be divided into three stages: The first stage, from 80 to 1
24、995. This phase is basically C + + language is the traditional type of object-oriented language, and by virtue of the efficiency of close to C language, developed for use in the industrial sector accounts for a significant language share; The second phase from 1995 to 2000, this stage as the Standar
25、d Template Library (STL) and later the Boost libraries such as the emergence of generic programming in C + +, the proportion of occupied more and more sexual. Of course, the same as Java, C # and other languages and the emergence of large-scale hardware prices drop, C + + has been some impact; The t
26、hird stage, from 2000 to date, due to Loki, MPL and other libraries as the representative of generative programming and template metaprogramming there, C + + appeared in the history and development of a new peak, and the emergence of these new technologies and the original technology integration, so that C + + has become the main programming language of the most complex one.