计算机专业毕业论文外文翻译2篇.doc
《计算机专业毕业论文外文翻译2篇.doc》由会员分享,可在线阅读,更多相关《计算机专业毕业论文外文翻译2篇.doc(15页珍藏版)》请在三一文库上搜索。
1、武汉理工大学本科生毕业设计(论文)英文翻译毕业设计题目:会务管理系统的设计与实现学院(系): 信息工程学院 专业班级: 电信0601班 学生姓名: 肖 曼 指导教师: 王 琳 1 Professional C# Third Edition Simon Robinson, Christian Nagel, Jay Glynn, Morgan Skinner, Karli Watson, Bill Evjen. Wiley Publishing, Inc. 2006英文原文:Where C# Fits InIn one sense, C# can be seen as being the same
2、 thing to programming languages as .NET is to the Windows environment. Just as Microsoft has been adding more and more features to Windows and the Windows API over the past decade, Visual Basic and C+ have undergone expansion. Although Visual Basic and C+ have ended up as hugely powerful languages a
3、s a result of this, both languages also suffer from problems due to the legacies of how they have evolved.In the case of Visual Basic 6 and earlier, the main strength of the language was the fact that it was simple to understand and didnt make many programming tasks easy, largely hiding the details
4、of the Windows API and the COM component infrastructure from the developer. The downside to this was that Visual Basic was never truly object-oriented, so that large applications quickly become disorganized and hard to maintain. As well as this, because Visual Basics syntax was inherited from early
5、versions of BASIC (which, in turn, was designed to be intuitively simple for beginning programmers to understand, rather than to write large commercial applications), it didnt really lend itself to well-structured or object-oriented programs.C+, on the other hand, has its roots in the ANSI C+ langua
6、ge definition. It isnt completely ANSI compliant for the simple reason that Microsoft first wrote its C+ compiler before the ANSI definition had become official, but it comes close. Unfortunately, this has led to two problems. First, ANSI C+ has its roots in a decade-old state of technology, and thi
7、s shows up in a lack of support for modern concepts (such as Unicode strings and generating XML documentation), and in some archaic syntax structures designed for the compilers of yesteryear (such as the separation of declaration from definition of member functions). Second, Microsoft has been simul
8、taneously trying to evolve C+ into a language that is designed for high-performance tasks on Windows, and in order to achieve that theyve been forced to add a huge number of Microsoft-specific keywords as well as various libraries to the language. The result is that on Windows, the language has beco
9、me a complete mess. Just ask C+ developers how many definitions for a string they can think of: char*, LPTSTR, string, CString (MFC version), CString (WTL version), wchar_t*, OLECHAR*, and so on.Now enter .NETa completely new environment that is going to involve new extensions to both languages. Mic
10、rosoft has gotten around this by adding yet more Microsoft-specific keywords to C+, and by completely revamping Visual Basic into Visual Basic .NET, a language that retains some of the basic VB syntax but that is so different in design that we can consider it to be, for all practical purposes, a new
11、 language. Its in this context that Microsoft has decided to give developers an alternativea language designed specifically for .NET, and designed with a clean slate. Visual C# .NET is the result. Officially, Microsoft describes C# as a “simple, modern, object-oriented, and type-safe programming lan
12、guage derived from C and C+.” Most independent observers would probably change that to “derived from C, C+, and Java.” Such descriptions are technically accurate but do little to convey the beauty or elegance of the language. Syntactically, C# is very similar to both C+ and Java, to such an extent t
13、hat many keywords are the same, and C# also shares the same block structure with braces () to mark blocks of code, and semicolons to separate statements. The first impression of a piece of C# code is that it looks quite like C+ or Java code. Behind that initial similarity, however, C# is a lot easie
14、r to learn than C+, and of comparable difficulty to Java. Its design is more in tune with modern developer tools than both of those other languages, and it has been designed to give us, simultaneously, the ease of use of Visual Basic, and the high performance, low-level memory access of C+ if requir
15、ed. Some of the features of C# are: Full support for classes and object-oriented programming, including both interface and implementation inheritance, virtual functions, and operator overloading. A consistent and well-defined set of basic types. Built-in support for automatic generation of XML docum
16、entation. Automatic cleanup of dynamically allocated memory. The facility to mark classes or methods with user-defined attributes. This can be useful for documentation and can have some effects on compilation (for example, marking methods to be compiled only in debug builds). Full access to the .NET
17、 base class library, as well as easy access to the Windows API (if you really need it, which wont be all that often). Pointers and direct memory access are available if required, but the language has been designed in such a way that you can work without them in almost all cases. Support for properti
18、es and events in the style of Visual Basic. Just by changing the compiler options, you can compile either to an executable or to a library of .NET components that can be called up by other code in the same way as ActiveX controls (COM components). C# can be used to write ASP.NET dynamic Web pages an
19、d XMLWeb services.Most of the above statements, it should be pointed out, do also apply to Visual Basic .NET and Managed C+. The fact that C# is designed from the start to work with .NET, however, means that its support for the features of .NET is both more complete, and offered within the context o
20、f a more suitable syntax than for those other languages. While the C# language itself is very similar to Java, there are some improvements: in particular, Java is not designed to work with the .NET environment.Before we leave the subject, we should point out a couple of limitations of C#. The one ar
21、ea the language is not designed for is time-critical or extremely high performance codethe kind where you really are worried about whether a loop takes 1,000 or 1,050 machine cycles to run through, and you need to clean up your resources the millisecond they are no longer needed. C+ is likely to con
22、tinue to reign supreme among low-level languages in this area. C# lacks certain key facilities needed for extremely high performance apps, including the ability to specify inline functions and destructors that are guaranteed to run at particular points in the code. However, the proportions of applic
23、ations that fall into this category are very low.中文:C#的优点C#在某种程度上可以看作是.NET面向Windows环境的一种编程语言。在过去的十几年里,Microsoft给Windows和 Windows API添加了许多功能,VB和C+也经历了许多变化。虽然VB和C+最终已成为非常强大的语言,但这两种语言也存在问题,因为它们保留了原来的一些内容。对于Visual Basic来说,它的主要优点是很容易理解,许多编程工作都很容易完成,基本上隐藏了Windows API和COM组件结构的内涵。其缺点是Visual Basic从来没有实现真正意义上
24、的面向对象,所以大型应用程序很难分解和维护。另外,因为VB的语法继承于BASIC的早期版本(BASIC主要是为了让初学者更容易理解,而不是为了编写大型商业应用程序),所以不能真正成为结构化或面向对象的编程语言。另一方面,C+在ANSI C+语言定义中有其自己的根。它与ANSI不完全兼容,因为Microsoft是在ANSI定义标准化之前编写C+编译器的,但已经相当接近了。遗憾的是,这导致了两个问题。其一,ANSI C+是在十几年前的技术条件下开发的,因此不支持现在的概念(例如Unicode字符串和生成XML文档),某些古老的语法结构是为以前的编译器设计的(例如成员函数的声明和定义是分开的)。其二
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机专业 毕业论文 外文 翻译
链接地址:https://www.31doc.com/p-3968013.html