The office door was open, and Wu Bin walked in directly.

"Hello Teacher Huang..."

When Huang Zhenrong heard that he was looking for himself, he operated the mouse twice, turned his head and glanced at Wu Bin, "Looking for me?"

"Yes." Wu Bin nodded, "I want to ask a teacher about the C language."

"Thank you."

"Thank you Not bad."

"BOOM~"

With an explosive sound coming out of the computer, Huang Zhenrong turned off the game, took out a box of mint from his pocket and poured an imported one. middle.

"Oh, who told you I would do this?"

"It was the classmates who told me that they wanted to learn C language to find you." Wu Bin again Pointing to the computer, "teacher, you just killed it quickly."

"hahahaha!" Huang Zhenrong let out a burst of laughter, "Okay, Wu Bin, I'm talking in the third year of high school." ”

During the first year and second year of high school, there was still physical education in class three. At that time, Wu Bin was often taken out by Huang Zhenrong because his physical fitness in class three was one of the very best. Both of them were very impressed by each other when they performed the demonstration.

"I have always admired the teacher."

Wu Bin's sentence is not a compliment, but this Teacher Huang is definitely a powerful faction in Xiazhong. Sports teacher, twenty-one, two pull-ups are still very easy, a group of strong upper limbs.

"Oh, what a genius speaks to me is useful." Huang Zhenrong stood up and patted Wu Bin's shoulder, "you brat is now an influential figure in school. It is also the first in grade, and it is Participating in the competition, I heard that your photos will be posted at the school gate in two days?"

"Huh!?" Wu Bin looked dumbfounded, "I haven't heard of it yet."

"Oh, then I spoiled it in advance, haha." After a second laugh, Huang Zhenrong finally brought the topic back, "You said you want to ask me about the C language?"

"Well, I just started learning recently." Wu Bin nodded.

"It depends on why you want to learn C language." Huang Zhenrong sat back in front of the computer after saying, "If you are only interested in programming and want to play some fancy, then I recommend you Starting from a programming language like Python or PHP, you can do something fun after learning it for a week or two."

Huang Zhenrong shook his head looking at Wu Bin's awkward appearance. , "You are really a novice, then you come to me now, I can really teach you something."

"Listen, my personal opinion, the benefits of the python programming language There are many, simple, easy to learn, fast, and the goal is clear, so that you can focus on solving problems, rather than understanding the language itself. It can be said to be one of the most popular programming languages ​​in recent years."

"Then why is it that my friend recommended me to learn C, and it is the general trend?" Wu Bin asked strangely.

"Because C language is the most basic thing. If you enter a university, C language is required for information courses, but it is too boring compared to python."

Speaking of Huang Zhenrong opened an application box on the computer, "python comes with its own equipment, the reason why it is suitable for use, to a large extent comes from its rich third-party libraries, you only need to learn a little, you can Get in touch with them and use them, and then show them."

"What about the C language?" Huang Zhenrong opened a black box again, "It only introduces stdio.h from the beginning to the end of its introductory tutorial. It is to compile pre-processing commands, but can you expect a black box under DOS to show off to the sky?"

"So the teacher, you learn python?"

"Me?" Huang Zhenrong Pointing to myself, "I'm just a hobby person, and I just watched all those who are interested. Anyway, I can tell you the difference clearly, and I can do it."

"First of all, you have to Determine a concept, that is, any programming language is used to develop programs and let the computer do work, such as downloading an MP3, writing a document, etc." Huang Zhenrong said and glanced at Wu Bin: "You know 0 and 1 ?"

Wu Bin nodded.

I taught it on the basis of what he learned. The computer basically understands digital signals, that is, a series of numbers composed of 0 and 1. As for which commands that a bunch of 0 and 1 correspond to, that's all It is determined by the hardware manufacturer.

The kind of X86, ARM, AI-64 you may have seen are all instruction set architectures.

Seeing Wu Bin nodded, Huang Zhenrong went on to say: "Then you know that the CPU in a computer only recognizes machine instructions. It has to be'translated' into machine instructions that the CPU can execute. Different programming languages ​​do the same job, and the amount of code written varies greatly."

"For example, to complete the same task, C language To write 1000 lines of code, Java only needs to write 100 lines, while Python may only need 20 lines." Huang Zhenrong glanced at Wu Bin again, "Java still knows it."

"I know, I know. ." Wu Bin immediately nodded.

"Hey~ It sounds like Python is very comfortable, but there is a price for less code, that is, the running speed will be slow, the C program will run for one second, the Java program may take 2 seconds, and The Python program may take 10 seconds."

Wu Bin was nodded while listening, and his eyes kept bursting with excitement, because it sounds so complicated and there is so much to learn!

After talking about many programming language differences with Wu Bin, Huang Zhenrong ate a mint again and concluded: “In short, I didn’t learn too much, but based on my personal experience, And in the forum, I saw the summary of the big guys from all walks of life. C language is Shaolin Changquan, Python, Java, PHP, this is the evil Sword Art."

"What do you mean?" Wu Bin asked curiously.

"You learn Shaolin Changquan for a month, what can you perform? Show others a horse, and then hit a powerful right uppercut? But Sword Art does not need to understand the bottom level, and it can do without basic skills. Quickly get started, after a month of learning, wow, that performance is a sword qi aspect! It's fancy, not showy."

Huang Zhenrong said two exaggerated gestures, "but practicing Sword Art Well, if you are not clear about the direction of True Qi in your body, you will cultivation deviation a little bit, and if there is another Sword Art or Sword Art in the martial arts, you can only sighed then said, curse Juniang, then join the team competing for cheats, otherwise you can only become a stepping stone for the younger generation of martial arts."

"And the C language is to make you know that there is no meridian in your body. What is the direction of True Qi convergence? This is actually really boring, especially if you learn with others, you can already use Python to guide the country when you learn from Junior Brother, and you can put sword qi next to you at every turn. , You are still in Zama, can you survive?"

"Then what if I survive?" Wu Bin asked expectantly.

"Stayed it? Then you believe me, don't say anything about "Sword Art", as long as you are interested, create a set of 38 Jianglong palms, 12 veins Divine Sword. Okay, when the time comes, you can sigh in front of those who practice Sword Art."

"Martial arts in the world is really Shaolin!"

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like