Chapter 26 What should I do if I don't know how to do my homework?
"Senior Brother, Senior Brother, Senior Brother, Senior Brother......"
Every time I shouted like this, Senior Brother Xiao Chen felt that something was wrong, saw me from a distance, and smiled at me.
Just run away.
I caught it quickly and begged: "Senior brother~ This question, I really don't know how to ......"
Senior Brother Xiao Chen's face was bitter: "Senior sister...... I really don't have time to ......."
I'm glued to him, and I don't want to let go. Senior Brother Xiao Chen kicked his legs, and found that he really couldn't get rid of it, so he couldn't help but squat down and sighed: "This time, which class's homework is it?" ”
"The ...... of the function" I was about to cry.
"To define a function, you need to use inheritance and derivation, how can I not type the derived code......" I said.
"Go back, junior sister, this ...... If you want to use a computer, you can bring it to me again, that's all! As soon as the senior brother turned around, I dragged it again.
"Let it go...... Let it go. "Senior brother is really helpless.
"Computer, I've already brought it." I hurriedly pulled my computer out of my bag.
"That'...... You type out this code first and then come back to ...... I! Before he could break free of my hand, the senior brother gritted his teeth and tried to carry me forward step by step.
"I've already made the template, senior brother, you see...... At a glance! I tugged at him and pulled him back.
"Alas...... "Senior brother was really defeated by me, so he had to squat down on the spot and think about life.
"Let's go to the pavilion, it's too sunny." I pointed to the water-near pavilion in the distance, after all, it was a shame to squat on the edge of the Colonel Road.
So, I dragged my brother, and my brother dragged my computer and moved it to the pavilion step by step.
"Little junior sister...... You really let me go, I still have a paper to write......"
"But my homework has to be handed in tomorrow." Otherwise, why would I arrest you on the road?
"You see, you see, why my data members have been wrong."
The senior brother sat down helplessly and pulled the scroll bar to slip through my code.
"What do you mean by this ....... with a few functions underneath?"
"I'm not done......," I stuck out my tongue, "Well, you don't care about the following for now, you can see if I wrote the previous one correctly." ”
"You see that you haven't released this function after the call, and it will always occupy memory." As he spoke, Senior Brother Xiao Chen added a destructor
"Oh! I forgot...... You look at the front first. "I'm anxious about the debug vulnerability ahead.
"Where's your title?" Senior Brother Xiao Chen flipped through it: "There is no title, how do I know what you are playing?" ”
"Here......" I handed over the title of my report with both hands.
Senior Brother Xiao Chen squinted, and began to think about my scum code while reading the question.
"Hmm...... You ...... Structure...... Derive a data member...... No problem. Senior Brother Xiao Chen checked while filling in a few function boxes that I didn't fill in.
I was secretly happy in my heart, it was good that someone helped me with my homework.
After filling it out, I tried to debug it once in its entirety -
Senior Brother Xiao Chen: "? ”
Me: "......"
"That's why I say I hate code." One mistake destroys all.
After all, Senior Brother Xiao Chen has many years of experience in debugging, and his surface is as stable as an old dog, so he didn't panic at all, took out a piece of candy, peeled the paper, stuffed it into his mouth, and looked for it carefully according to the prompts.
"Oh! If you are a data member, you have to re-apply for memory. Senior Brother Xiao Chen pointed to a certain line with his finger, and said to me while changing.
"In the future, you should find Ah Jiu for things like this, he can help you change to a line that is not bad, concise and perfect." Senior Brother said with a frown.
I also want to find Ah Jiu, but the problem is, I can't catch him, I am aggrieved to see that my senior brother finished changing it and ran it again.
"Alright, that's it." Senior brother entered it a few times, and there was no problem with the data.
I immediately cheered: I can finally copy the code into my homework.
"Wait, wait." My brother took my computer again, and while I was cheering, he pulled the mouse and deleted all the code.
Me: "......"
What do you mean?
"Come on, you've fought again." My brother handed me back the computer.
Me: "......"
Brother, can you play with me?
"What's wrong? Hit it again, didn't you see what I hit just now? ”
It's not that I didn't see it clearly, it's that I didn't have time to see it!
I covered my face and tried to strangle him every minute.
"Code is such a thing, you have to type it yourself to know what's wrong, you try it again." The senior brother smug me with a smug face.
I had no choice but to follow the memory I had just made again.
"I said, can you not use the pointer, in another way, the pointer is easy to make mistakes!" Senior brother clicked another sentence for me to delete.
"Hit hard!"
"Not? What do I use to represent this member without a pointer? ”
"You figure it out for yourself, and all roads lead to Rome." The senior brother chewed, swallowed the sugar into his stomach, and urged, "Hurry up, I'm really in a hurry." ”
Drive...... Are you still deleting my code in a hurry?
I clenched my fists, calmed down, and struck again.
Another debug, thirteen bugs!
Unexpectedly, the senior brother glanced at it and nodded: "Well, it's much better than just now, you can change it yourself, what you can change is some basic small mistakes." ”
I looked at it and thought it was okay, so I made a gesture to my senior brother. Unexpectedly, the senior brother actually sat still and didn't leave, chewing candy and looking at the scenery in his pocket.
"Aren't you in a hurry?" I'm confused.
"yes."
"Then you ......"
"I was in a hurry, and now I'm not in a hurry." Saying this, the senior brother slowly took out his mobile phone.
"Why?"
The senior brother put the mobile phone back in his pocket again, and he was angry: "What do you say? ”
It's been at least four or five hours since I caught him.
"I'm sorry...... Is it delaying your urgent business? ”
"No, it's just a matter of looking for a teacher to guide the paper, I really envy you that you are still learning these basics, and you can study in a few years."
"Senior brother is graduating?" I asked. Isn't that no one to guide me with my homework?
"Don't look at me with such a look that I'm going to die, not so fast, there is still a year to go."
"Oh." While I was working on the code, I heard my brother say, "I heard that the kid in our chess club broke up with your dormitory?" ”
"Well, probably."
"What do you mean?" Senior brother is not in one place.
"Actually, if you don't say it, I also know that that kid, in addition to being a little better at chess, is a little handsome, and he is really good at deceiving girls."
My fire didn't hit anywhere: "You knew he was such a person, and you didn't tell me earlier?" ”
The senior brother laughed and said, "Young man, suffer more losses, and when you meet such a person in the future, you will know how to deal with it." ”
"And...... K, that kid, don't talk about it......"
"That's right." Senior Brother Xiao Chen remembered, "Recently, the student union had a night run, have you participated?" ”
"What activity?"
Events again?