Help all mankind

Chapter 34 Two Necessary Conditions

The reason Liang Shicheng is angry is that no program can be executed in isolation, and a corresponding library file is required.

To use a visual analogy, the library file is a worker who performs tasks, the program is the work we arrange for him on paper, and the programmer is the boss who arranges the work.

There can be great differences between library files, the intelligence, work efficiency, and language differences between different library files.

If the library file is smart enough, then the boss who arranges the job, the programmer, can be more comfortable, just use some simple and popular words to order the worker, and he knows how to do the rest.

If the library files are relatively stupid, then the worker is of the kind who don't know one question and three questions. If he wants to arrange tasks for him, the boss will have to spend a lot of talking. Basically, he has to explain everything in detail.

That is, for workers of different levels, they need to use different languages ​​to give orders.

If the workers are smart enough, it is not even a problem to communicate with secret words between the boss and the workers.

At the same time, in order to express the same meaning, when issuing the same command and using different library files, the programming rules are different.

In short, if you want to run a program, you must have a corresponding library file.The program captured by the universal editor cannot be directly installed and used on other electronic devices.

A piece of program must have a corresponding library file, and two things that are obviously to be used together are sold separately!

Of course, he has another option, which is to guess the meaning and logic of the program without the library file, and then manually convert it by himself.

This is what made Liang Shicheng feel depressed, although he was extremely reluctant, he checked the mission.

[Hidden Task-Childlike Heart Sleepless

The goal is to let 10,000 children under the age of twelve get the gifts they want.

Within two years

Progress 010000]

It does not seem to be a simple task.

Now Liang Shicheng's first goal is to develop driverless programs with the help of a universal editor.

He exited the interface and began to weigh the pros and cons to calculate his next route.

First, copy the program of the driver driving the car that was photographed and captured before and copy it to the computer for research. This time the amount of generated program is not small, reaching about 200MB.

Then I opened them one by one and interpreted them manually. After trying for a while, I realized that it was impossible for myself to fully interpret the meaning.

Only then did Liang Shicheng realize that he had limited abilities and too much data.

Not only is the amount of data extremely large this time, but the complexity of the program content is also higher, and it takes longer to interpret the same data.

The interpretation process is to contact the context and part of the content that can be directly understood, guessing the meaning of the full text, not only is it impossible to use a computer to complete the job, even if such a thing is left to ordinary programmers, there are only a few in the company. Talents like Liang Shicheng with independent development solutions have this ability.

Then there are only two options.

Method one, hire a large group of software engineers at the same level as you, to study the meaning of the entire 200MB of data, and spend a lot of time, and finally understand what these documents mean, gain knowledge, and then develop based on this knowledge program.

Method two, either can only find a way to get the corresponding library file, complete the task given by the system, and then develop the corresponding editing program according to the library file, then you can directly convert the 200MB program with the computer and flash it directly to the automatic In the firmware of the car, and run normally.

Liang Shicheng reconsidered that the task given by the system helped 10,000 children get the gifts they wanted!!This is a difficult problem of the heavenly book level. Even if you become Santa Claus, you can’t figure it out. Let alone figure out their wishes one by one. These days, even if you give yourself a chance to reach 10,000 children, it is very difficult. Maybe when he was spotted by the police uncle.

Although I was still thick, I went to the nearest kindergarten with more than 200 children. After discussing with the principal, under the guise of advertising, I personally understood the wishes of each child, recorded them in the book, purchased them one by one, and put them in place.

But obviously he gave more than 200 children a gift each, but the progress bar of the system task showed 2810000.

In other words, this group of children is really hard to serve. The gifts they bought according to their own stated wishes were not the gifts they wanted when they were delivered to them.

In the end, Liang Shicheng believed that this task was impossible to accomplish in this era, and if he continued like this, he couldn't figure out what trouble would happen, so he decisively gave up the path given by the system.

Now he has a third way to go, ignoring the system's task rewards, and forcibly developing the corresponding library files.

Reverse-engineer these existing 200MB programs and reverse the library files they use.

He thought he could try it.

Open the proxy software and enter the GitHub website. Although he has no clue, he knows the masters here.

It is not easy to attract the attention of masters and entice them to give detailed explanations on this complicated process.

But he has a good way. This is a trick that has been tried before.

First, he took out some programs captured by the previous universal editor and posted them in a post.

Then deliberately pretend to be stupid, and say a few wrong views that are easily supported by novices. If you can understand these programs, you may decisively point out the problem.

When the novices watched, a large number of novices expressed their incomprehension and supported the post.

At this time, the master had to explain in detail, more things.

This trick is particularly effective for other programmers. This is the personality of the programmer. This trick has a special name Cunningham's Law.

So Liang Shicheng exposed the appearance of his cat washing his face with his hands, and posted the procedure of the cat walking that he caught and wrote.

"An expert gave me a program. It is said that by inputting it into the Mega2560 MCU, the robot cat driven by the steering gear can also wash the face by hand."

Next, he waited for the real master to appear, waiting for someone to point out his basic mistakes, and point out that this program could not be executed in Arduino.

It is best if someone can understand the meaning of this program and explain that this program will actually make the robot cat walk instead of washing the face.

But after looking forward to it for a long time, there was no effective response. Only a group of people left a message saying they were unsure, and various emoticons.

It seemed that I had miscalculated this time. No one understood what the program was doing. Just when Liang Shicheng was about to give up, he suddenly saw a short message.

"What is your MSN number? I have something to tell you."