Joke Collection Website - Mood Talk - There are several languages for computer programming.

There are several languages for computer programming.

I'm a software major. Let me talk about it.

There are hundreds of programming languages in IT history, and only the following ones have been handed down.

By the way, professionally speaking, VC is not a programming language, but a Microsoft development environment.

Roughly divided into three categories:

1 machine language

Is 0 and 1 According to certain rules, this is a language that computers can directly understand and execute, and the format is as follows.

Opcode+operand

For example, calculate 15+ 10.

10110000011/put 15 into accumulator a.

00101100 00010/010 is added to the value in accumulator a, and the result is put into a.

11110100//End, stop.

You see, it's as difficult to understand as a gobbledygook, so no one writes such a program at all now.

2. Assembly language

It depends on the processor architecture. The most familiar architecture is IA-32, which is the Intel family, including AMD (Intel Compatible Processor).

For example, in the MASM environment of MS, 15+ 10 is calculated.

MOV A, 15

Add one, 15

HLT // end, stop.

However, compilation is still as difficult to maintain as gobbledygook; Generally, I will look at my own code after a few weeks, and I don't know what it means, so no one will write a program with sink except for real-time performance or hardware performance maximization.

3. High-level language

Famous are:

FORTRAN (this is the earliest high-level language in the world, mainly used for scientific calculation)

COBOL (mainly used for mainframes, generally you have to learn mainframe programming languages)

Pascal (Delphi, which is familiar to everyone, is its development environment, with strict grammar and is mainly used for teaching)

Basic (the simplest high-level language, the language of beginners, but its function is not strong)

C (powerful high-level language, high efficiency, closer to hardware, can be said to be the low-level language in high-level language, which is my favorite language)

C++ (developed from C, it mainly adds object-oriented features, but its efficiency is not as good as that of C, nor is it as perfect as C, with many defects).

Java (a very popular language developed from C++, but its efficiency is worse than C++, its maintenance is difficult, but its portability is good).

C# (something new from Microsoft. NET platform, developed by C++, has shorter development cycle, convenience, strong performance and better maintainability than Java.