fine water
Chapter 1
"Fine Water/MicrosoftVisualC++" Author: Shutong
C++ Lao Zhang × student evil, secretly in love with slow-heating campus novels, the host's mother Lao Zhang is a brain-dead fan, no dismantling or rebellion, proper HE.
What the author has to say:
I am also a hard worker in C language. The student party wrote it to motivate myself. I try to be as accurate as possible for some professional knowledge of C language. If you have any novice questions, please do not hesitate to give professional advice, thank you.
The host is used to writing short and medium stories. VC is the first long story. At first, I just wrote it for fun and didn’t take it seriously. I didn’t feel like writing it well until halfway through. As a result, the first fourteen chapters are a bit random, and there are some bugs in the front and back. I decided to end it Please forgive me for revising and writing and enriching and expanding the content of the previous article.
Microsoft Visual C++ is a software for writing programs, generally referred to as VC++.
Tags: Doujin Tomb Raiders Notes Bottle Evil Campus Overhead Teacher-student Two-Way Secret Love
==========
Microsoft Visual C++01
Wu Xie walked from the school gate to the dormitory under the sun with his bag on his back. The dormitory was on the sixth floor. When he climbed up the stairs, he was panting heavily. He wiped the sweat from his forehead and ran to the dormitory door. With a loud voice, "I'm back, hurry up and meet me!"
The person behind the door was taken aback, looked back and squinted Le's eyes, walked over and patted Wu Xie on the shoulder twice, "Naive, you're back!"
"My buddies just talked about you!"
Wu Xie put her backpack on the chair, looked back at the fat man, "What did you say?"
The fat man sat down on the chair next to Wu Xie, with his legs crossed halfway, and said with a smile, "You don't know what Lao Zhang said in today's C++ class?"
Wu Xie was taken aback, then sat down and looked at the fat man curiously, "What's wrong with Mr. Zhang?"
"What about a temple and a pot of wine on the top of a mountain, Erle is so bitter. I don't remember it later, anyway, it's just drinking and dying."
Wu Xie said "ah", and before he could speak, he heard the fat man laughing, "I'm so stupid, Lao Zhang was writing a code to calculate the area of a circle, using a macro definition, the macro name PI replaces pi, and wrote As I was writing, I suddenly raised my head and asked, 'Do you know pi?'”
"We didn't understand, but he suddenly recited such a string, and we were all dumbfounded," the fat man slapped his thigh, "You said that with Lao Zhang's personality, how could he say that these things are worthless? I couldn't hold back my laughter until my stomach ached. Lao Zhang seemed to feel that he had said something wrong, with a sullen face, which made us dare not laugh when we wanted to. As a result, after class, as soon as Lao Zhang turned around, the classroom was full of laughter .”
Wu Xie thought of Zhang Qiling's slumped face on the podium, slightly embarrassed, and couldn't help laughing, "Then I missed it."
Fatty nodded, "That's right, the whole hospital has been chatting for a long time now!"
Wu Xie turned around and rummaged through her bag, and took out a box of things, "I don't have class this afternoon, I'm going to see Teacher Zhang."
The fat man was taken aback, and smiled playfully, "Why, do you want to see Lao Zhang's embarrassment with your own eyes?"
Wu Xie smiled, "Teacher Zhang likes to drink tea, I brought two boxes of Mingqian Longjing at home." Then he took the books and went out, "By the way, I went to make up lessons."
Zhang Qiling lives in the school, and the dormitory building is not far from Wu Xie's side, just a few steps away.Wu Xie has always been interested in the C language. From the office to the dormitory, Wu Xie went to Zhang Qiling's side frequently. Wu Xie has a cheerful and studious personality, and the two of them got acquainted very quickly.
Wu Xie walked to the door of Zhang Qiling's house, opened the door and found that the door was unlocked, walked in with a smile, changed her slippers at the door, closed the door, and walked directly to the study.
"Teacher Zhang?"
"Hmm." Zhang Qiling sat in front of the computer and tapped the keyboard without looking back.
"Why didn't you close the door?"
"The fat man said you'll be here at noon."
Wu Xie laughed, "Mr. Zhang, are you so sure that I will definitely come over this afternoon?"
Zhang Qiling paused, then looked back, "What did you take?"
Wu Xie raised his head as if offering a treasure, "Longjing, how is it?"
Zhang Qiling took it and glanced lightly, "Well, thank you."
Wu Xie was a little disappointed seeing Zhang Qiling not showing any joy.Zhang Qiling turned to continue typing the code, and stopped talking to Wu Xie.Wu Xieqian sat for a while, feeling bored, so she leaned over to read what Zhang Qiling had written.
#include <iostream>
using namespacestd;
voidmian()
inti=4,*pi=&i;
void*pv;
doubled=9,*pd=
……
Wu Xie frowned and glanced, "C++?"
Zhang Qiling said "Mmm", "For the class you haven't attended in the past two days, I'll write the code and copy it to you. You can go back and study by yourself, and come to me again if you don't know."
Wu Xie "oh", waited for a while, couldn't hold back, and said, "One temple and one pot of wine on the top of the mountain (3.14159), Erle Kushawu (26535). Eat the wine (897), and the wine will kill you." Er (932). Killing Bushi (384), Leerle (626)..." The more I got to the back, the more I wanted to laugh, and finally they all disappeared.
Zhang Qiling froze, and immediately turned around, "Did the fat man tell you?"
Wu Xie nodded, suppressed a smile and said, "Boring."
This jingle of pi was actually told by Wu Xie to Zhang Qiling a week ago. Zhang Qiling only said two words after listening with a blank face, "boring!" Wu Xie was a little embarrassed at the time, and touched his nose embarrassedly. Thinking that Zhang Qiling would suddenly mention it in class later, I am quite proud of Zhang Qiling's appearance now.
Zhang Qiling was silent for a while, then smiled as if surrendering, "It's very interesting."
Wu Xie's heart skipped a beat, and she glanced at the computer in a panic, pointing to the "#include"iostream"
" asked, "Mr. Zhang, why not #include "iostream.h"
? ”
Zhang Qiling glanced at it, and patiently explained to Wu Xie, "This is the content behind C++, the namespace, and I haven't talked about it yet, so let me briefly explain it to you."
"Namespace is a namespace. There was no definition of namespace in C++ before. Writing large-scale programs is prone to name conflicts, so namespace was born to solve this problem..."
Most of the teachers in science and engineering are not good at English, they yell out the letters of words, and some definition variables are simply written in Chinese pinyin. A C language teacher in Wu Xie led the whole class to call "J" into "jie".Wu Xie took Zhang Qiling's class for the first time, "#include "stdio.h"
""queryStudentPos" said the words well, and defined the English variable names easily. Wu Xie said "hey" in his heart at that time, thinking that this teacher really has two brushes.
"So traditional C++ does not define namespace, #include "iostream.h"
There is no cout and endl in the default space..." Wu Xie was thinking, when Zhang Qiling's voice suddenly stopped, and suddenly he raised his head and bumped into Zhang Qiling's eyes.
"You're distracted."
Wu Xie froze, "Zhang, Teacher Zhang..."
Zhang Qiling sighed, "Forget it, you can go back and rest first, and come back when you are more energetic."
Wu Xie lowered his eyes and remained silent for a while, then suddenly felt Zhang Qiling raised his hand and patted him on the shoulder, "It's okay."
He was bored for a long time, Zhang Qiling looked at Wu Xie sitting silently without opening his mouth, Wu Xie suddenly asked, "Mr. Zhang, do you have a girlfriend?"
Zhang Qiling was taken aback, "No," pondered for a while, "I have a favorite student."
Wu Xie was bored, and couldn't help laughing, "Hey!"
Looking up Zhang Qiling smiled slightly, "Are you so sure it must be yourself?"
Wu Xie chuckled, "Besides me being so thick-skinned, who can pester Teacher Zhang for so long?"
Zhang Qiling nodded, "That's true."
Wu Xie pursed her lips and smiled, but didn't speak.From C language to C++, Wu Xie looked at the two plus signs, and was slightly dazed. From the title page to the last page, the book has passed a book, and the days have turned around. His feelings for Zhang Qiling have not diminished but increased...
TBC
Microsoft Visual C++02
Wu Xie was sitting on the seat in a daze, his eyes drifted far away and he didn't know what he was thinking. Suddenly he felt a heat on his shoulders, and the fat man next to him kicked him vigorously. He trembled suddenly, recovered his senses and looked up At a glance, Zhang Qiling was standing beside him and looking at him with dark eyes.
Wu Xie was startled, and stood up abruptly, "Teacher Zhang!"
Zhang Qiling's expression was very surprised for a moment, and there was suppressed low laughter in the classroom, Wu Xie stared blankly at Zhang Qiling.Zhang Qiling turned slightly and looked around, the laughter in the classroom suddenly disappeared, he turned around and pressed Wu Xie hard on the shoulder, and whispered, "Sit down, I didn't call you."
Wu Xie blushed suddenly, sat down with a whoosh, and was in a trance again halfway through the class.Wu Xie wasn't afraid of making a fool of herself, but she felt inexplicably ashamed in front of Zhang Qiling. She was in a hurry to go out after class, and when she got up, she heard a voice from the podium, "Wu Xie."
Wu Xie froze when he stood up, and the fat man quickly patted him, "Old Zhang called you, so you can do it yourself!"
You'll Also Like
-
One Piece: Musicians and Generals.
Chapter 192 13 hours ago -
Siheyuan: I am a big capitalist after the founding of the People's Republic of China
Chapter 199 13 hours ago -
Naruto starts from live broadcasting to the ninja world
Chapter 623 13 hours ago -
Zerg: An incredible way to survive
Chapter 237 13 hours ago -
One Piece: I Am the Revolutionary Army
Chapter 381 13 hours ago -
I don't want to be a doctor either.
Chapter 214 13 hours ago -
Siheyuan: I have traveled through time and space and still can’t eat enough?
Chapter 160 13 hours ago -
Siheyuan: The Brilliant Life of Second Aunt
Chapter 168 13 hours ago -
Super Seminary: This Super Calculator Has Become a Spirit
Chapter 214 13 hours ago -
Siheyuan: I can change size at will
Chapter 243 13 hours ago