Chapter 10 I know a little about programming
Chapter 10 I know a little bit about programming
Author: Bucket of Pudding
Chapter 10 I know a little bit about programming
Ning Qing was looking forward to using Luo Zhen's computer, so before Luo Zhen could react, she asked: "Teacher Luo, does your computer have a language environment?"
I want to use a computer not only to show my programming skills in front of Luo Zhen, but more importantly, to surf the Internet.
Bilingual No. 1 Middle School is very strict about mobile phones and computers. Although there are computer courses for the second year of high school, the computer room used to teach them does not have access to the external network. It can only be used to operate some simple software and write the simplest
program.
So although Ning Qing has been in this world for three full days, she is trapped in this part of the school. Her understanding of this world is obtained from different textbooks. For example, the world map on the cover of the geography book makes Ning Qing
Qing probably understands that the major countries in this world are different from those on Earth, and are all located in the southern hemisphere.
For example, the Yonghan Republic where he is located is the largest country in the southern hemisphere to the east of Azure Star, with more than 10 million square kilometers of land. Also because it is in the southern hemisphere, the farther north the country is, the warmer it is, and the farther south it is, the colder it is. On Azure Star
There are also seven continents, namely Hanzhou, Yuzhou, Huanghuangzhou, Losizhou, Mesti, Marte and Pole. The continents are also separated by oceans.
In addition to geography, Ning Qing had to take the history test to understand the world. However, Ning Qing only had history compulsory course 3 at this time. The world history part was not explained very clearly, but there was a point where the modern history of the Yonghan Republic was different from that of the earth.
Huaxia still has some similarities, which makes Ning Qing feel a little uneasy.
Obviously, the knowledge in these textbooks is not enough. If he wants to have a relatively clear understanding of the world, he still needs a universal network. For example, he needs to understand the development process of mathematicians, mathematics, computers, economics, physics, etc. in this world.
It is best to understand the collective view of the world through various forums.
In short, the Internet is a good thing, and it is also what Ning Qing needs most now. Of course, he also needs to show off his talent appropriately so that Luo Zhen can stand firmly on his side. Being a high school student is too troublesome. If he is a college student,
He can know the world with just one mobile phone.
…
Luo Zhen replied subconsciously: "Well... I only have the C language environment installed on my computer."
Ning Qing immediately said: "Okay, I happen to know a little bit about it."
Luo Zhen: "..."
No matter how Luo Zhen was feeling at the moment, he still entered the password for the laptop to enter the system. He also thoughtfully helped Ning Qing to adjust the programming environment. Then he took out today's printed questions from his desk and put them in the laptop.
Next to the computer, he gave up his position.
Ning Qing stood up, sat next to Luo Zhen's computer, switched screens, found an icon called Swift Browser on the desktop, and clicked on it.
Then I shamelessly entered the words "C language instruction table and symbol table" in the search engine bar.
This operation made Luo Zhen's eyes twitch twice. Now he was probably sure that Ning Qing understood a little bit, and probably really understood a little bit and was not modest.
Ning Qing also realized something, turned around and explained with a smile: "I'm sorry, Teacher Luo, I learned C language by myself during the summer vacation. I don't quite remember some of the command formats. Please familiarize yourself with it again."
This is of course an excuse.
The main reason is that Ning Qing needs to see if the C language in this world is different from the C language on earth. Otherwise, it will not be a showcase of craftsmanship, but a real show of shame.
Using the grass-roots team to kill the regular army is an excuse. It is better to simply not want to be assigned to form a team.
The main reason is that I am too lazy to get angry with a bunch of young people. These kids in high school are young and energetic, and they are all from the Rockets class, and everyone has their eyes set on the top. Let such teammates listen to what you have learned.
The students in the bad class are much more difficult to deal with than directly dealing with Luo Zhen.
It's hard to say that all the time, all the energy is focused on internal consumption, which is not what Ning Qing is good at.
Human growth is also reflected in this. No matter what difficulties you encounter, it is best to unite all the people who are easier to unite, and then use your best way to solve the problem. As for making Luo Zhen doubt this, it is not a problem at all.
Although Ning Qing realized that the completely results-oriented thinking mode was too extreme, and began to learn to enjoy the process of starting over and making plans, it cannot be denied that a good result is often easier to convince others.
For example, Dad Ma, who was once the richest man in the world, if he had not succeeded and those words were exposed, he would probably be ridiculed to death by the Internet group. But relying on the aura of the richest man, he can have countless fans even if he farts
A serious analysis of why it smells so good.
Fortunately, Ning Qing did not spend too much time getting familiar with the C language. In fact, after a few glances, Ning Qing was able to determine that the commands, formats, and basic data types of the C language in this world are similar to those on earth. This
Probably because there are not many big differences in history, and the official language of Azure Star is similar to that of Earth.
So Ning Qing soon ran the C language environment again and started programming.
"data=xlsread('d:\111.xlsx');
X=data(:,1);
X_20A=data(:,1);
Y_20A=data(:,1);
plot(X_20A,Y_20A,'r');
hold on
…
After starting programming, Ning Qing's speed was obviously much faster, which made Luo Zhen feel a little confused again.
There is a C language environment in the computer, which shows that Luo Zhen can also write some simple programs. At least he is not ignorant about programming. Naturally, he can also understand some programs written by Ning Qing. Of course, the main reason why he can understand is because of Ning Qing.
Qing did not write in a messy way like other students who were new to programming.
On the contrary, the program code written by Ning Qing at this time is clear and well-structured, and more detailed comments are given in the functional part, which can be said to be concise and easy to understand.
This is enough to show that Ning Qing's programming techniques are sophisticated and standardized, and it is not like self-taught. But then again, many programmers have bad programming habits, and the code they write is messy, let alone another person.
If you don’t understand it, you may not be able to recognize the code you wrote after one or two months.
If you learn from such a master, you might learn a bunch of bad habits when you learn programming again.
In short, Luo Zhen was completely confused at this time about how Ning Qing got him from the Rocket Class to the bad student class. Isn't it good to just stay in the Rocket Class?
But he really believed what Ning Qing said. This guy might be really messy in the exam. At least in the subject of mathematics, a child who can solve mathematical modeling problems with ease can even take the test with his eyes closed on the knowledge points of high school mathematics.
More than 100%.
This kid is really a little too much!
Chapter completed!