The Immortal Warrior: From Reverse Engineering to Forging Swords for the Country
Chapter 2: Compiled a small program
Chapter 2: Compiled a small program
[Congratulations to the host! You have mastered all codes of MS-DOS3.3 version! 】
[Congratulations to the host! You have mastered the basic C language programming technology. With continuous practice, your programming technology can be quickly improved! 】
The system prompt dialog box flashes in front of you.
Zhang Zhipeng felt that a magical change had occurred in his brain.
He has never learned programming, but now he has a lot of experience programming in C language in his mind.
This feeling is really amazing.
This made Zhang Zhipeng a little excited.
After working on it for a long time, reverse engineering MS-DOS can actually help me master programming skills?
After thinking for a moment, he started to directly write a small software in C language with only a few dozen lines of code. This software is associated with two mini-games, Super Mario and Contra.
As long as students on the computer use this computer to open one of the two mini-games, this small software will be triggered.
Then the mini software will automatically pop up a warning: During class, playing mini games is prohibited, please close it immediately!
It is estimated that the students on the computer will be shocked when they see this.
The computers in the computer room are connected in series to a local area network. Zhang Zhipeng set up this software to automatically copy to all other computers through the LAN after the other computers in the computer room are turned on.
Okay, isn't this just a simple virus?
Of course, this virus will not cause damage to the computer system.
Zhang Zhipeng carefully checked the small program he wrote, made some simple modifications, and tried it several times, and it all popped up smoothly.
The biggest modification he made is: as long as a student opens two mini-games during the computer class, the teacher's computer screen will also prompt, and the prompts are very specific, and the computer number will be displayed.
This can also be regarded as helping the teacher to maintain classroom discipline.
I just don't know if those students who deserted from class would resent him for this.
[Congratulations to the host! You have acquired intermediate C language programming skills! 】
The system rewarded him again.
Zhang Zhipeng felt that he had a deeper understanding of programming in C language.
This sense of gain made his brain even more excited.
Just when he was about to continue studying, the preparation bell rang outside.
It's almost time for class.
The computer room that Zhang Zhipeng manages is the busiest electronic classroom in the Department of Aircraft Engineering.
Students from all grades and majors in the department take turns using it, and there is almost no leisure time.
He hurriedly turned off the computer he was using and began to prepare to greet the students who would board the computer.
As the administrator of the computer room, he basically had nothing to do when the teacher took the students to the computer.
But he couldn't leave too far and could only stay in the small office next to him.
Zhao Min is a teacher in the Department of Computer Science and Engineering. Her teaching and research section is responsible for basic computer education in the school.
That is to say, we take students on the computer, explain the basic knowledge and theory of computers, and teach them how to use computers proficiently.
She graduated from Xidian across the street.
After graduation, he came to NPU to teach and has been there for two years.
She is 1.65 meters tall, slender, and has a pretty face. She is one of the most beautiful teachers in Western Polytechnic University.
Ten minutes before class, Zhao Min came to the computer classroom.
When she entered, Zhang Zhipeng happened to be standing at the door of the classroom.
As the administrator of the computer room, Zhang Zhipeng naturally met Zhao Min quite a lot.
But it was just a few polite words when we met, and the relationship was not deep.
Zhao Min even felt a little repelled by Zhang Zhipeng.
Because she had heard some stories about Zhang Zhipeng: Zhang Zhipeng was a gangster before and was once detained for fighting.
It is better to keep a respectful distance from such a man.
"Good afternoon, Teacher Zhao!" Zhang Zhipeng smiled and nodded to say hello to Zhao Min.
Zhao Min nodded and replied: "Hello, Teacher Zhang!" She walked into the classroom and came to the seat in front of the teacher.
Zhang Zhipeng shrugged. He could feel that Zhao Min was a little wary of him.
It seems that the previous owner of this body was really not a thing before and was already somewhat notorious.
He walked back to the small office next to him, ready to sit down and read for a while.
He borrowed two introductory books on aviation knowledge from the school library, intending to make up for it.
Here, Zhao Min turned on her teacher's computer and started preparing for today's class.
Today, she is going to talk about several key DOS commands.
Students entered the classroom one after another.
Zhao Min teaches sophomore students.
In fact, these students have just attended college for one year.
However, they are obviously not as obedient as the freshmen, and some students are already a bit old-fashioned.
Class begins.
Zhao Min was operating on the computer in front while explaining to the students.
Just when she had just spoken for six or seven minutes, a small dialog box suddenly popped up on her computer screen.
"Friendly reminder! The student in seat 25 opened Super Mario!"
Zhao Min was startled.
What the hell?
Why did such a prompt pop up suddenly?
This is obviously a small program that someone created on the computer.
This applet is associated with games on the computer. As soon as a student opens the game, the applet will immediately alert.
Even though Zhao Min graduated from Xidian University, she couldn't even create such a small program.
Here, who tampered with the computer?
Could it be a prank played by students?
In the past two years, Zhao Min has been teased by students a lot.
She raised her head and glanced at the student sitting in seat 25.
Seat No. 25 is at the back of the electronic classroom.
It was a boy with a crew cut, and Zhao Min couldn't see the other person's face because of the computer monitor.
However, Zhao Min still coughed slightly and said: "A warning to the students sitting in seat 25. You must pay attention in class! Don't play small games in private!"
By the way, the boy sitting in seat 25 is called Fang Qingping, a student majoring in flight control engineering design.
Fang Qingping is quite smart and likes to think by himself. His computer skills are quite high and he is familiar with both software and hardware.
He knew everything Zhao Min said.
Therefore, he felt that he had nothing to lose by not listening.
He clicked on Super Mario to play for a while.
However, the terrible thing is that as soon as he opened the game, the game suddenly closed by itself, and then a dialog box popped up: It is forbidden to play mini-games during class, please close it immediately!
Fang Qingping was a little confused.
I go! Isn’t this too smart?
Who designed this small program? Can you actually make yourself unable to play the game?
Fang Qingping's heart was a little confused for a while.
Immediately, Zhao Min's warning sound came.
Fang Qingping rubbed his nose, thinking that it seemed that he had underestimated this beautiful teacher. It's amazing that I can design such a complicated little program to monitor students.
Fang Qingping had no choice but to stand up and said, "Teacher, I'm sorry! I was just curious..."
"But you are really awesome. This little software you designed is so awesome!"
Newbie, new book, please collect it and read it. From now on, two chapters of this book will be released regularly every morning. Please support me and give me motivation.
(End of this chapter)
You'll Also Like
-
Entertainment: Start writing the script, Yang Mi comes to the door with a knife
Chapter 242 11 hours ago -
Starting with Flying Thunder God? The terrifyingly strong Naruto
Chapter 92 11 hours ago -
The Vicious Young Lady Who Had Been Spoiled Awakened
Chapter 358 23 hours ago -
The Growth System Comes at the Age of Thirty
Chapter 132 1 days ago -
Family Immortal Cultivation: Li Clan
Chapter 1035 1 days ago -
Longevity, starting from the blood contract turtle
Chapter 609 1 days ago -
Wanjie Technology System.
Chapter 701 1 days ago -
On the Avenue
Chapter 411 1 days ago -
Diary of the Improper Monster Girl Transformation
Chapter 253 1 days ago -
Oh no, the young villain got the heroine's script!
Chapter 915 1 days ago