资源描述:
《c# 编程语言外文文献翻译中英文》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、C#编程语言概述外文文献翻译(含:英文原文及中文译文)文献出处:BarnettM.C#ProgrammingLanguageOverview[J]LectureNotesinComputerScience,2016,3(4):49-59.英文原文C#ProgrammingLanguageOverviewBarnettM1.HistoryofC,C++,C#TheC#programminglanguageisbasedonthespiritoftheCandC++programminglangua
2、ges.Thisaccounthaspowerfulfeaturesandaneasy-to-learncurve.ItcannotbesaidthatC#isthesameasCandC++,butbecauseC#isbuiltonboth,Microsofthasremovedsomefeaturesthathavebecomemoreburdensome,suchaspointers.ThissectionlooksatCandC++andtrackstheirdevelopmentin
3、C#.TheCprogramminglanguagewasoriginallydefinedintheUNIXoperatingsystem.Inthepast,weoftenwrotesomeUNIXapplications,includingaCcompiler,andfinallyusedtowriteUNIXitself.Itisgenerallyacceptedthatthisacademiccompetitionextendstotheworldthatcontainsthisbus
4、iness.TheoriginalWindowsAPIwasdefinedtoworkwithCusingWindowscode,anduntilnowatleastthecoreWindowsoperatingsystemAPISmaintainstheCcompiler.Fromadefinedpointofview,Clacksasingledetail,likethelanguageSmalltalkdoes,andtheconceptofanobject.Youwilllearnmor
5、eaboutthecontentsoftheobject.InChapter8,"WriteObject-OrientedCode,"anobjectiscollectedasadatasetandsomeoperationsareset.ThecodecanbecompletedbyC,buttheconceptoftheobjectcannotbeForcedtoappearinthislanguage.Ifyouwanttoconstructyourcodetomakeitlikeanob
6、ject,that'sfine.Ifyoudon'twanttodothis,Cwillreallynotmind.Theobjectisnotanintrinsicpart.Manypeopleinthislanguagedidnotspendalotoftimeinthisprogramexample.Whenthedevelopmentofobject-orientedperspectivesbegantogainacceptance,thinkaboutthecodeapproach.C
7、++wasdevelopedtoincludethisimprovement.ItisdefinedtobecompatiblewithC(justasallCprogramsarealsoC++programsandcanbecompiledbyaC++compiler)ThemainadditiontotheC++languageistoprovidethisnewconcept.C++additionallyprovidesaderivativeoftheclass(objecttempl
8、ate)behavior.TheC++languageisamodifiedversionoftheClanguage.Unfamiliar,infrequentlanguagessuchasVB,C,andC++areverylow-levelandrequirealotofcodingtomakeyourapplicationrunwell.Reasonanderrorchecking.AndC++canbehandledinsomeverypowerfulapplications,thec