Chapter 749
It’s Really Done
Author: Erzi Congzhou
It’s Really Done
The machine-readable card uses an OCR photoelectric head to collect information. There are forty questions on a question card, with four options for each question. There are a total of one hundred and sixty areas to be collected, and the areas are irregular.
The dot matrix word area is simpler and boxy than the machine-readable card, but there are 900 areas to be collected, and the accuracy is much higher than that of the machine-readable card.
In addition, there are other additional information that need to be collected. This information is mainly used by the computer to couple strokes. For example, in the Chinese character "二", in regular script, the short horizontal line is the small tip, and the long horizontal line is the pen tip. These are coupled
There is a difference when rendering.
"I have completed the adjustment. The accuracy of the OCR optical head in the computer room is high enough. I have adjusted the scanning area and the number of dots. Now as long as the compilation passes, you can run it and take a look."
"Huh?" The student sneered and said, "Don't brag. I haven't heard of anyone who can write a large program and compile it in one go."
Before he finished speaking, Zhou Zhi quickly tapped the keyboard a few times and issued a compilation command to the computer.
Compilation is a process. The debugging log is constantly scrolling on the screen, and you can actually see the progress of the compilation.
Finally, the computer beeped, and the cursor stayed behind the string of characters "compiling succeeded".
"Succeeded...succeeded?"
"Really successful?"
"It actually succeeded?!"
A group of students had gathered behind Zhou Zhi, all whispering to each other.
"Elbow, where did you learn this?" Li Hongjiang felt unbelievable.
There are legends about large-scale program modifications passing in one go. Back then, Bill Gates asked a friend to send the code to IBM headquarters for acceptance. The friend found a problem with the code on the plane, so he made temporary modifications on the plane. After getting off the plane, he arrived at IBM headquarters.
, send the program to the server and compile it once.
This is one of the countless great legends in Microsoft history, but there are really not many such examples.
"I simply adjusted the parameters, modified the scanning area, blocked some unnecessary branch programs, and changed the output and storage passwords..." Zhou Zhi said: "The theme structure of the program has not been changed, so... it is not complicated."
A group of people around looked at each other. The most difficult job for programmers is not to write their own programs, but to understand other people's programs.
This is also the reason why the ISO system places great emphasis on log files and comments when it comes to program development. You have to spend a lot of energy and time taking notes in the program and telling others what your program is used for.
Of course, this approach is an absolute luxury when storage space is extremely scarce. Every bit of space on the computer is used for coding and cannot be left for you to write logs.
Therefore, those who can understand the program in such a short time, modify it, and compile it in one go are either the developers themselves, or...geniuses.
"There is a computer in my dad's work. My dad was commended by the province for his joint office work and was given a reward." Zhou Zhi had already thought about how to word it: "It turns out that the computer is a used one, and the old system is UNIX+
C, and then formatted it to install DOS."
"Because the nominal hard disk space size is different from the system space size, the space was severely shrunk. The provincial bureau thought it was a computer with two-thirds of the hard drive broken, and it was eliminated and given to my dad's work."
"Then you discovered it?"
"Yes, I checked the BIOS and redid the boot disk, so I can play the UNIX+C part."
This problem is a little more complicated. UNIX and DOS are two different operating systems. The UNIX system can carve out a partition for DOS formatting and install the DOS operating system, but the reverse is not possible.
Even undergraduates majoring in computer science don't know how to play these games. Most of the computer technicians in the Provincial Industrial and Commercial Bureau are the kind who became a monk halfway through the surprise training, and I'm afraid they don't even know how to do it.
However, the provincial bureau is not short of money. If it is not suitable, it will be eliminated and given to someone else, and you can replace it with a better one.
This is true, and it often happens in this era. When Zhou Zhi went to work in his last life, he once encountered someone in the work unit who would not initialize the modem. As a result, many modems with different passwords could not complete the handshake communication and were regarded as
Damaged equipment is abandoned in the warehouse.
After Zhou Zhi initialized the modem, he used these "bad equipment" to build half of the unit's network, saving the unit a lot of money. The unit leader was so amazed by the newly graduated college student that he directly allocated a welfare house to him.
.
Like English, UNIX+C is something that has been played for decades in the previous life, and it is difficult to forget.
What's more, the core program for machine-reading cards is not complicated. Zhou Zhi quickly found the parameter part, completed the modification, and compiled and passed it in one go.
"Mr. Mai, Professor Li, how about we give it a try?"
"Try it!" Li Hongjiang opened the carton happily: "Let's scan one and try it."
The size of the card reader is different from that of A4 paper. Although it has been carefully debugged, the hardware itself is not matching.
Fortunately, it was still possible to read a dot matrix character. Zhou Zhi folded the code paper twice. Li Hongjiang instructed the students to turn off the continuous card reading function of the card reader, and then put the folded code paper into the card reader.
After typing the command, the card reader started to move.
Immediately afterwards, a box, thirty times thirty, appeared on the computer screen, and then a small cursor began to jump backwards from the first square. After jumping to the end of one line, it jumped back to the third line of the next line.
A position to start over.
"So slow?" Mai Mingchuan had already dragged a stool and sat next to Zhou Zhi.
"I adjusted it so slowly on purpose. Now is the debugging and monitoring stage." Zhou Zhi said: "When the program is officially run, there will be no such section. It will be scanned and stored directly."
Mai Mingchuan nodded and stopped talking.
After a while, the first lit grid appeared on the screen, followed by the second and third.
"Yes!" The computer room suddenly cheered. Even if the students didn't know what Zhou Zhi was doing here before, they knew it now.
This is a scanning program that scans the text on that piece of paper into the computer system.
This itself is not a very complicated program, but it is so pleasant to watch the small dots of light gradually light up into a word on the screen.
In addition, this program was independently modified and completed by a teenager who looked like he was in high school, and it was compiled and run successfully in one go. The more expert you are, the more you know how difficult it is.
Mai Mingchuan had no doubts about Zhou Zhi. He was a genius. Who didn't have one or two?
The key point is that Zhou Zhi’s proposal about the big font library in the morning would never have been proposed by someone who was not someone who had certain attainments in information technology.
I couldn't figure out how a teenager from a small county town could do this before, but now I understand that this kid is really familiar with information technology.
Soon, the small cursor reached the last grid, and a standard dot matrix of "and" appeared on the screen.
"It's really done!" Li Hongjiang patted Zhou Zhi on the shoulder from behind: "What a boy! You are really awesome!"
Chapter completed!