(毕业设计论文)计算机专业外文翻译--VisualC++MFC简要介绍(适用于外文翻译+中英文对照)

上传人:zhuma****mei1 文档编号:54413620 上传时间:2018-09-12 格式:DOC 页数:21 大小:130KB
返回 下载 相关 举报
(毕业设计论文)计算机专业外文翻译--VisualC++MFC简要介绍(适用于外文翻译+中英文对照)_第1页
第1页 / 共21页
(毕业设计论文)计算机专业外文翻译--VisualC++MFC简要介绍(适用于外文翻译+中英文对照)_第2页
第2页 / 共21页
(毕业设计论文)计算机专业外文翻译--VisualC++MFC简要介绍(适用于外文翻译+中英文对照)_第3页
第3页 / 共21页
(毕业设计论文)计算机专业外文翻译--VisualC++MFC简要介绍(适用于外文翻译+中英文对照)_第4页
第4页 / 共21页
(毕业设计论文)计算机专业外文翻译--VisualC++MFC简要介绍(适用于外文翻译+中英文对照)_第5页
第5页 / 共21页
点击查看更多>>
资源描述

《(毕业设计论文)计算机专业外文翻译--VisualC++MFC简要介绍(适用于外文翻译+中英文对照)》由会员分享,可在线阅读,更多相关《(毕业设计论文)计算机专业外文翻译--VisualC++MFC简要介绍(适用于外文翻译+中英文对照)(21页珍藏版)》请在金锄头文库上搜索。

1、外文翻译外文翻译工 学 部 工学一部专 业计算机科学与技术班 级4418101学 号200413181038姓 名张 为指导教师史 俊负责教师沈阳航空工业学院北方科技学院2008 年 7 月沈阳航空工业学院北方科技学院毕业设计(外文翻译)1 Introduction to MFC Programming with Visual C+ Version 6.x by Marshall Brain Visual C+ is much more than a compiler. It is a complete application development environment that, whe

2、n used as intended, lets you fully exploit the object oriented nature of C+ to create professional Windows applications. In order to take advantage of these features, you need to understand the C+ programming language. If you have never used C+, please turn to the C+ tutorials in the C/C+ Tutorials

3、page for an introduction. You must then understand the Microsoft Foundation Class (MFC) hierarchy. This class hierarchy encapsulates the user interface portion of the Windows API, and makes it significantly easier to create Windows applications in an object oriented way. This hierarchy is available

4、for and compatible with all versions of Windows. The code you create in MFC is extremely portable.These tutorials introduce the fundamental concepts and vocabulary behind MFC and event driven programming. In this tutorial you will enter, compile, and run a simple MFC program using Visual C+. Tutotia

5、l 2 provides a detailed explanation of the code used in Tutorial 1. Tutorial 3 discusses MFC controls and their customization. Tutorial 4 covers message maps, which let you handle events in MFC.What is the Microsoft Foundations Class Library? Lets say you want to create a Windows application. You mi

6、ght, for example, need to create a specialized text or drawing editor, or a program that finds files on a large hard disk, or an application that lets a user visualize the interrelationships in a big data set. Where do you begin?A good starting place is the design of the user interface. First, decid

7、e what the user should be able to do with the program and then pick a set of user interface objects accordingly. The Windows user interface has a number of standard controls, such as buttons, menus, scroll bars, and lists, that are already familiar to Windows users. With this in mind, the programmer

8、 must choose a set of controls and decide how they should be arranged on screen. A time-honored procedure is to make a rough sketch of the proposed user interface (by tradition on a napkin or the back of an envelope) and play with the elements until they feel right. For small projects, or for the ea

9、rly prototyping phase of a larger project, this is sufficient.沈阳航空工业学院北方科技学院毕业设计(外文翻译)2 The next step is to implement the code. When creating a program for any Windows platform, the programmer has two choices: C or C+. With C, the programmer codes at the level of the Windows Application Program Inte

10、rface (API). This interface consists of a collection of hundreds of C functions described in the Windows API Reference books. For Windows NT, the API is typically referred to as the “Win32 API,“ to distinguish it from the original 16-bit API of lower-level Windows products like Windows 3.1.Microsoft

11、 also provides a C+ library that sits on top of any of the Windows APIs and makes the programmers job easier. Called the Microsoft Foundation Class library (MFC), this librarys primary advantage is efficiency. It greatly reduces the amount of code that must be written to create a Windows program. It

12、 also provides all the advantages normally found in C+ programming, such as inheritance and encapsulation. MFC is portable, so that, for example, code created under Windows 3.1 can move to Windows NT or Windows 95 very easily. MFC is therefore the preferred method for developing Windows applications

13、 and will be used throughout these tutorials.When you use MFC, you write code that creates the necessary user interface controls and customizes their appearance. You also write code that responds when the user manipulates these controls. For example, if the user clicks a button, you want to have cod

14、e in place that responds appropriately. It is this sort of event-handling code that will form the bulk of any application. Once the application responds correctly to all of the available controls, it is finished.You can see from this discussion that the creation of a Windows program is a straightfor

15、ward process when using MFC. The goal of these tutorials is to fill in the details and to show the techniques you can use to create professional applications as quickly as possible. The Visual C+ application development environment is specifically tuned to MFC, so by learning MFC and Visual C+ toget

16、her you can significantly increase your power as an application developer.Windows Vocabulary The vocabulary used to talk about user interface features and software development in Windows is basic but unique. Here we review a few definitions to make discussion easier for those who are new to the environment.Windows applications use several standard user controls:Static text labels 沈阳航空工业学院北方科技学院毕业设计(外文翻译)3 Push buttons List boxes Combo boxes (a more advanced f

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号