The difference between C language and C + + C #

Source: Internet
Author: User

In the recent learning of C # Programming Foundation, and before have learned C language, this can not help but let me wonder: C language and C + +, C # What is the difference?

After inquiring the information, I summed up the difference between them:

C/c++/c# accurately, it is three languages.

C language has both high-level language characteristics and assembly language features. C Process-oriented, development of unmanaged programs, compiled into EXE is a binary executable, not cross-platform. C-language source code can basically easily correspond to assembly code, and can not require any runtime environment support. C features, simple and easy to compile, flexible close to the bottom. It can be used as a working system design language, writing system applications, or as an application design language and writing applications that do not rely on computer hardware. Therefore, it has a wide range of applications, not only in software development, but also all kinds of scientific research needs to use the C language, specific applications such as single-chip microcomputer and embedded system development.

C + + It is a widely used computer programming language. C + + Object-oriented, development of managed and unmanaged programs, compiled into EXE is a binary executable, not cross-platform. C + + is a common programming language for static data type checking, which supports multiple programming paradigms. It supports procedural programming, data abstraction, object-oriented programming, making icons, and other generic programming styles.

C # is an object-oriented, run-on, Microsoft company release. High-level programming language above the NETFramework. C # Object-oriented, development of managed programs, compiled into EXE is the intermediate language, need in. C # is characterized by a high level of abstraction with only one (object-oriented), rich support for runtime (garbage collection, etc.), and a rich library of classes. So it is studious, easy to use, while balancing operational efficiency, as far as possible optimization. Speaking of this is not to say that the more advanced the language is slower, the runtime performance is related to a lot of things. NET platform for two dynamic compilations before execution can be performed across platforms. C # looks surprisingly similar to Java, and it includes processes such as single inheritance, interfaces, almost the same syntax as Java, and the process of compiling into intermediate code. But C # differs significantly from Java in that it draws on a feature of Delphi, which is directly integrated with the COM (Component Object model), and it is Microsoft Corporation. The protagonist of the Netwindows network framework.

The difference between C language and C + + C #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.