China Naming Network - Ziwei Dou Shu - The difference between C language and c++ and c#

The difference between C language and c++ and c#

Poor: 1. C language, C++ and C# are just three computer programming languages.

2.c is process-oriented, developing unmanaged programs, and compiling into exe is a binary executable file, which cannot be cross-platform. C++ is object-oriented, developing managed and unmanaged programs, and compiling it into exe is a binary executable file, which cannot be cross-platform. C# is object-oriented, and developing managed programs and compiling them into exe is an intermediate language.

3.c language has the characteristics of both high-level language and assembly language. The source code of C language can basically correspond to the assembly code very easily, without the support of any runtime environment. C++ is a general programming language, which checks static data types and supports multiple programming paradigms.

The characteristics of C# are: high degree of abstraction and basically only one kind (object-oriented), rich runtime support (garbage collection, etc.). ) and rich class libraries.

4.c features, simple and easy to compile, flexible and close to the bottom. It can be used as a working system design language to write system applications, and it can also be used as an application programming language to write applications that do not depend on computer hardware. Therefore, it has a wide range of applications, not only for software development, but also for various scientific research, such as single chip microcomputer and embedded system development.

Extended data:

Computer languages include machine language, assembly language and high-level language.

A machine language is a collection of machine instructions expressed in binary code that can be directly recognized and executed by a computer. It is the operating function given to the computer by the computer designer through its hardware structure, such as assembly language. Machine language has the characteristics of flexibility, direct execution and high speed. High-level languages are easier to remember and understand, such as C B language.

References:

Computer programming language Baidu Encyclopedia?

C language Baidu encyclopedia

Baidu Encyclopedia of c# Language?

C++ Baidu encyclopedia