Home > Programming > C Programming Language



The C++ Programming Language A Tour Through C++ Outline C++ ...

Sort Desciption:

tures to the C programming language. It is not necessary to use all the features. in order to write ecient understandable. portable applications ...



Content Inside:

The C++ Programming Language A Tour Through C++ Outline C++ Overview C++ Design GoalsPage 1The C++ ProgrammingLanguageA Tour Through C++OutlineC++ OverviewC++ Design GoalsMajor C++ EnhancementsOther EnhancementsLanguage Features Not Part of C++Function PrototypesC++ ClassesClass Vector ExampleC++ ObjectsC++ ObjectOriented Features1Inheritance PreviewInheritance Example: Adastyle VectorsDynamic Binding PreviewOverloadingNewStyle CommentsTypeSafe LinkageInline FunctionsDynamic Memory ManagementConst Type QualierStream IOBoolean TypeReferencesType Cast SyntaxDefault ParametersDeclaration StatementsAbbreviated Type NamesUserDened ConversionsStatic InitializationMiscellaneous DierencesC++ OverviewC++ was designed at AT&T Bell Labs byBjarne Stroustrup in the early 80'sThe original cfront translated C++ into C forportability However this was dicult to debug and potentially inecientMany native host machine compilers now exist e.g.Borland DECGNU HPIBM MicrosoftSun Symantec etc.C++ is a mostly upwardly compatible extension of C that provides:1. Stronger typechecking2. Support for data abstraction3. Support for objectoriented programmingC++supportsthe ObjectOrientedparadigmbut does not require it2C++ Design GoalsAswith Cruntime eciencyis importante.g. unlike Ada complicated runtime librarieshave not traditionally been required for C++ Note that there is no languagespecic support for concurrency persistence or distribution in C++Compatibility with C libraries and UNIXtools is emphasized e.g.Object code reuse The storage layout of structures is compatible with C Support for Xwindows standard ANSI C library UNIX system calls viaexternblockC++ works with themakerecompilationutility3Page 2C++ Design Goals cont'd As close to C as possible but no closer"i.e. C++ isnot a proper superset of C so thatbackwards compatibility is not entirely maintained Typically not a problem in practice:: :Note certain C++ design goals conictwith modern techniques for:1. Compiler optimizatione. ...

Source: www.cs.wustl.edu


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related Files

Programming in C C++ Java

Filed under: Programming and C Programming Language
Programming in C C++ Java. Course Overview. Object oriented programming languages are widely used for the development of complex software systems. ...

C Programming

Filed under: Programming and C Programming Language
The C Programming Language ANSI C. By Brian W. C. Kernighan & Dennis M. Ritchie. K and R. "Practical C programming". By Steve ...

An Overview of the C++ Programming Language

Filed under: Programming and C Programming Language
The C++ programming language provides a model of memory and computation that ... 3 The C Programming Model presents the C subset of C++ and other C++ ...

C Programming Fundamentals

Filed under: Programming and C Programming Language
1 C Programming Fundamentals C is a compiled language. The user creates source code (often ... exe extension). Below is typical C program called LED.C that illustrates some fundamental C ...

Essential C

Filed under: Programming and C Programming Language
C Programming Language (below) as part of their research at AT&T. Unix and C++ ... The C Programming Language 2nd ed. by Kernighan and Ritchie. ...