Especially the history of programming languages and computer graphics.
-
Generally speaking, in terms of computer system construction,
1, the most essential thing of the computer is the switch of the circuit, which is logically 0 and 1. The whole computer world is made up of these two things. The rules of the computer world are circuits (parallel connection, series connection and short circuit), and logically there are three operations: 0+0 = 0, 1+0 = 0+65433.
2. Computer integrated circuits on the hardware level realize the most basic mathematical operations, logical operations and other related operations through two things and three things, and form machine instructions. Machine instructions are essentially 0 1 string. There are many representations, such as hexadecimal representation. These machine instruction sets constitute the machine language, and the machine language realizes all calculations according to certain internal logic.
3. Because machine language is easy to make mistakes, poor readability and needs to be improved, assembly language appears. Assembly language is a great progress, which realizes the abstraction and separation of machine language. Assembly language can be translated into machine language by assembler. It should be noted that different machine systems, machine instructions and machine languages are different, so different machines have different assemblies. Because assembly language needs a deep understanding of computers, it is also being developed on a large scale.
4. Needless to say, the development history of C and c++, what I want to say is that these two languages will eventually be compiled into machine language. See the compilation principle for details.
5. Now talk about the application of C and c++.
First of all, the kernel of unix series and linux series of mainstream operating systems are written in C and assembly language, xwindow of unix series and linux series, etc. And most of them are written in C and c++. As for windows, it uses assembly, C, c++ and C # (I heard it's for vista).
Secondly, as the network protocol based on Internet, unix and linux use C, and windows uses c++.
6. Of course, the fifth point is not absolute. The first concept, software reuse, is to package the same function and call it directly the next time. In this way, various function libraries are formed, such as the standard libraries of C and c++. In c++ and C programming, the correct libraries can be called each other. So the fifth point is just an overview.
7, so all the functions of the computer can be realized by C and c++.
But at the level of network application and website, most of them are implemented by java, php, c# and related scripts, which is fast and efficient.
But ie is written in c/c++, and qq is written in c/c++. There are many other network software, such as firewall, antivirus software and so on.
-
Can C and C++ languages only write core things like engines? Who else can roughly explain the concept and writing of these core things?
So the above question is not a problem, it is important to look at the requirements of running efficiency and development efficiency of what you want to write. For example, you can write a program in C language and network protocol library to read and display the page you are asking/question/33478242.html. However, it is of little significance, too much workload, and does not have universality and scalability.
-
As for the interface, let's talk about it below.
1, those who didn't have a monitor in the early days could only display computer information through circuit switches, punching machines and typewriters.
2, then the display screen, it is a black screen. This is the beginning.
3. The pioneer of computer graphics pioneered the field of computer graphics.
4. Based on the final research results, a variety of graphics libraries, such as openGL, have been developed. Of course, this is only at the software level, and there are many related supports at the hardware level, such as graphics cards and so on.
5. Develop GUI programs and directly call the components of related libraries.
-
That's all.
Original by gelosie.