fine water
Chapter 4
When it was up, Wu Xie's palms were already covered with sweat, and he raised his head and smiled provocatively at Zhang Qiling, "It's done!"
Zhang Qiling nodded, "Well, let's go back."
Wu Xie was so proud of himself that he almost raised his hands and cheered. Suddenly, he heard Zhang Qiling say something from behind, "I have seen all the efforts Wu Xie put in before."
Wu Xie paused for a moment, then looked back at Zhang Qiling, unable to figure out what Zhang Qiling meant, seeing the other party's calm appearance, no matter how embarrassed he was, he thought about it against him, and then he started to attend class seriously.Gradually, he felt that Zhang Qiling was a good teacher, and kept getting in touch with him more intimately, until he later realized that he had a deep affection for Zhang Qiling.
TBC
Microsoft Visual C++05
"On the one hand, C++ not only inherits the custom data types of C language, such as int, long, double, etc., but also has extensions on the other hand. The structure name, joint name and enumeration name do not need to be prefixed..."
Wu Xie responded without raising his head, "struct, union, and enum." The ending was long, Zhang Qiling paused, and glanced at Wu Xie. Then, "Local variable declarations..."
"Fuck!" Wu Xie cursed loudly from the audience, Zhang Qiling knocked on the table lightly, glanced at Wu Xie, the fat man trembled, and quickly twisted Wu Xie hard, Wu Xie was watching intently, and was caught Fatty's pinched tears burst out, gasping for breath in pain, "You..."
"Wu Xie."
Wu Xie was taken aback, stood up quickly, and looked at Zhang Qiling in embarrassment, Zhang Qiling continued indifferently, "The identifier principle of variable name naming."
"It consists of numbers, letters, and underscores," Wu Xie said quickly, "it can't start with a number, and it can't be a keyword."
Zhang Qiling nodded, "The difference between C++ and C language."
"Functions can be defined in structures and unions. The default access authority of structure members is publicc, and the default access authority of class members is private." Wu Xie slightly tilted his head and thought for a while, "Hey, there is also C++ that supports the definition of variables in loop bodies. There are local variable definitions that can precede program statements, and..."
Zhang Qiling raised his hand and interrupted Wu Xie, "It's ok, sit down."
Wu Xie chuckled, as soon as he sat down, his buttocks felt empty, he was startled and stuck between the stool and the table the next second, the fat man slammed the table with a suppressed laugh, two bursts of laughter broke out in the class, Zhang Qiling knocked again After a while, the laughter stopped abruptly. Wu Xie stood up and angrily put down the chair pushed up by the fat man, kicked the fat man hard, and sat down with a blushing face.
Zhang Qiling glanced at Fatty, "At the same table!"
The fat man was startled, and quickly stood up, "Teacher!" He looked very sincere, "I was wrong! I shouldn't disturb the classroom discipline. After class, I will give classmate Wu Xie..."
"How many bytes does an int occupy under the VC compiler?"
The fat man was a little dumbfounded, and after standing for a while, he responded immediately, "Four!"
"short."
"two!"
"What function does C language use to allocate heap memory, and what header file is this function defined in?"
The fat man choked when he was asked, and stood in the middle of the classroom for a while, his face gradually turned red, and he said, "No, I don't know."
Wu Xie was angry at the fat man for making himself a fool of himself, looked at the fat man with raised brows, and kept chuckling, when he raised his eyes and saw Zhang Qiling staring at him, his skin tightened suddenly, and he suddenly saw the other party nodding at him, his heart ached. Yixi smiled and stood up.
"malloc and free in stdlib, the former allocates and the latter reclaims memory."
Zhang Qiling said "Mmm", "Both of you sit down."
The fat man sat down for a long time and couldn't help complaining, "Mr. Zhang, you are partial to Wu Xie."
Wu Xiezheng was looking beautiful when he suddenly heard the fat man's voice, his hands and feet were in a mess, and he subconsciously raised his head and glanced at Zhang Qiling, who suddenly slammed into the other's eyes, and his heart jumped twice, only to see Zhang Qiling lightly sweeping at Wu Xie With a glance, he said in a low voice, "Indeed.
"
Wu Xie felt that someone had bumped her heart, and she panicked for a while, then Zhang Qiling's quiet voice of lectures sounded on the podium again, without a trace of emotion, Wu Xie was slightly lost.
After class, Wu Xie watched Zhang Qiling tidy up the computer from his seat, hesitated for a while, walked up to the podium, and asked before approaching Zhang Qiling, "What's wrong?"
Wu Xie was in an inexplicably good mood, "Hehe" touched his head in embarrassment, "Mr. Zhang, I'm here to apologize."
Zhang Qiling paused, looked up at Wu Xie, raised his chin slightly, "Yes."
Wu Xie took out her mobile phone and handed it to Zhang Qiling, "I received the notification in class."
Zhang Qiling took it over and glanced at it. It was a project plan for social practice activities. It was arranged by the courtyard. Wu Xie's class was cleaning and commemorating the martyrs' tombs in the city. Just go out."
Wu Xie pouted, "Teacher, what you said is easy."
"Have you previewed C++?"
Wu Xie immediately nodded as if wanting to praise, "I have already previewed it! I have seen Chapter 3, teacher, please speak faster, I am not interesting in class at all!"
Zhang Qiling raised his eyebrows to see Wu Xie's frightened face, and pushed the computer over, "C++ is an extension of C language, please demonstrate the limitations of C language on C++."
C++, as the successor of C language, can be said to come from behind, greatly lifting the limitations of C language in some places, and what Zhang Qiling wants Wu Xie to demonstrate is that programming written in C++ with C language as the background will run incorrectly.
Wu Xie let out a "hey", skillfully creating new files and writing programs.
#include "iostream"
viodmain()
intx;
x = 9;
inty;
y = x + 1;
ints=0;
for(inti=1;i<=100;1++)
s+=i;
Getting started with C++ and having a good foundation in C language, Wu Xie wrote it effortlessly. After typing the code for a while, he ran it directly. As a result, the running page popped up below with a bang, and Wu Xie turned his head to read Zhang Qiling glanced at him, but the other party remained calm.Wu Xie could only bite the bullet and turned around to set a breakpoint to debug. After struggling for a long time, he couldn't find the error, but Zhang Qiling stood behind and watched again. Wu Xie had just finished shaking, and he felt embarrassed. He looked up and down Everyone from the first class came, Wu Xie turned around and begged for mercy with a sad face, "Ms. Zhang..."
Zhang Qiling asked, "Can't continue?"
Wu Xie nodded, "Yes."
Zhang Qiling leaned over, and Wu Xie was pressed between his chest and the computer, feeling a little uncomfortable, Zhang Qiling didn't seem to notice, directly opened "My Computer", dug out the folder where Wu Xie saved the programming files, and pointed to them one by one. Wu Xie looked.
"what is this?"
"Head file." Wu Xie answered honestly.
"this."
"Implementation file."
"What's the extension?" Zhang Qiling continued to ask, and Wu Xie leaned over to take a look, and immediately said "Hey", "I'm sorry, .CPP!"
"The name of the new project does not include the extension '.c', and the default is '.cpp' for the C++ background. How could it be wrong?" Wu Xie grinned awkwardly, and Zhang Qiling raised his eyes, "Pretend to be smart!"
Raising his hand and tapping on Wu Xie's forehead a few times, Wu Xie was a little stunned, only felt that the computer screen in front of him was all blurred, leaving only the faint warmth of his fingers on his forehead.
TBC
This chapter is actually my class notes, written to review C++... Occasionally interspersed with bottle evil interaction...
Microsoft Visual C++06
The social practice activity was originally scheduled to be this Saturday, but the fat man first objected, saying that "if you failed three subjects, you have to take a make-up exam", and successfully changed the tomb-sweeping activity to Friday afternoon when there were no classes, and Wu Xie happily kept it for himself. A free Saturday.
There was only one class on Thursday morning. Wu Xie came out of the classroom and went directly to the library. This week is the course selection week. Wu Xie has a compulsory course in engineering, and he is struggling with a few other subjects. Wu Xie thought about it. Called Zhang Qiling for help.
Zhang Qiling listened for a while, then said, "You wait in the library, I'll go over."
Wu Xie quickly replied, "No need, teacher, I'll just go find you!"
Zhang Qiling was silent for a while, then replied, "I don't have internet here."
Wu Xie froze for a moment, then patted his head in a slightly awkward manner, "Ah, then, then I'll wait for you here."
After hanging up the phone, Wu Xie sat in front of the computer and waited for Zhang Qiling, and directly opened the webpage to play a small game on the webpage. He shrank his neck belatedly, and closed the game page in embarrassment. Fortunately, Zhang Qiling also appeared at the stairs at this time, and Wu Xie raised his hand, "Mr. Zhang!"
The mobile phone in his trouser pocket vibrated at the same time. Zhang Qiling probably remembered to hang up before seeing Wu Xie. Wu Xie immediately connected, "Teacher!"
Zhang Qiling replied, "It costs a lot?" After finishing speaking, he hung up and walked over to Wu Xie. Wu Xie's face was slightly hot, and he answered all the slander in his heart. It's better to talk to him for a minute.Zhang Qiling leaned over and casually put his hand on Wu Xie's shoulder, "What's wrong?"
"Organizational Behavior is a must, and there are a few others," Wu Xie slid the mouse to show Zhang Qiling other
Zhang Qiling nodded, "Well, let's go back."
Wu Xie was so proud of himself that he almost raised his hands and cheered. Suddenly, he heard Zhang Qiling say something from behind, "I have seen all the efforts Wu Xie put in before."
Wu Xie paused for a moment, then looked back at Zhang Qiling, unable to figure out what Zhang Qiling meant, seeing the other party's calm appearance, no matter how embarrassed he was, he thought about it against him, and then he started to attend class seriously.Gradually, he felt that Zhang Qiling was a good teacher, and kept getting in touch with him more intimately, until he later realized that he had a deep affection for Zhang Qiling.
TBC
Microsoft Visual C++05
"On the one hand, C++ not only inherits the custom data types of C language, such as int, long, double, etc., but also has extensions on the other hand. The structure name, joint name and enumeration name do not need to be prefixed..."
Wu Xie responded without raising his head, "struct, union, and enum." The ending was long, Zhang Qiling paused, and glanced at Wu Xie. Then, "Local variable declarations..."
"Fuck!" Wu Xie cursed loudly from the audience, Zhang Qiling knocked on the table lightly, glanced at Wu Xie, the fat man trembled, and quickly twisted Wu Xie hard, Wu Xie was watching intently, and was caught Fatty's pinched tears burst out, gasping for breath in pain, "You..."
"Wu Xie."
Wu Xie was taken aback, stood up quickly, and looked at Zhang Qiling in embarrassment, Zhang Qiling continued indifferently, "The identifier principle of variable name naming."
"It consists of numbers, letters, and underscores," Wu Xie said quickly, "it can't start with a number, and it can't be a keyword."
Zhang Qiling nodded, "The difference between C++ and C language."
"Functions can be defined in structures and unions. The default access authority of structure members is publicc, and the default access authority of class members is private." Wu Xie slightly tilted his head and thought for a while, "Hey, there is also C++ that supports the definition of variables in loop bodies. There are local variable definitions that can precede program statements, and..."
Zhang Qiling raised his hand and interrupted Wu Xie, "It's ok, sit down."
Wu Xie chuckled, as soon as he sat down, his buttocks felt empty, he was startled and stuck between the stool and the table the next second, the fat man slammed the table with a suppressed laugh, two bursts of laughter broke out in the class, Zhang Qiling knocked again After a while, the laughter stopped abruptly. Wu Xie stood up and angrily put down the chair pushed up by the fat man, kicked the fat man hard, and sat down with a blushing face.
Zhang Qiling glanced at Fatty, "At the same table!"
The fat man was startled, and quickly stood up, "Teacher!" He looked very sincere, "I was wrong! I shouldn't disturb the classroom discipline. After class, I will give classmate Wu Xie..."
"How many bytes does an int occupy under the VC compiler?"
The fat man was a little dumbfounded, and after standing for a while, he responded immediately, "Four!"
"short."
"two!"
"What function does C language use to allocate heap memory, and what header file is this function defined in?"
The fat man choked when he was asked, and stood in the middle of the classroom for a while, his face gradually turned red, and he said, "No, I don't know."
Wu Xie was angry at the fat man for making himself a fool of himself, looked at the fat man with raised brows, and kept chuckling, when he raised his eyes and saw Zhang Qiling staring at him, his skin tightened suddenly, and he suddenly saw the other party nodding at him, his heart ached. Yixi smiled and stood up.
"malloc and free in stdlib, the former allocates and the latter reclaims memory."
Zhang Qiling said "Mmm", "Both of you sit down."
The fat man sat down for a long time and couldn't help complaining, "Mr. Zhang, you are partial to Wu Xie."
Wu Xiezheng was looking beautiful when he suddenly heard the fat man's voice, his hands and feet were in a mess, and he subconsciously raised his head and glanced at Zhang Qiling, who suddenly slammed into the other's eyes, and his heart jumped twice, only to see Zhang Qiling lightly sweeping at Wu Xie With a glance, he said in a low voice, "Indeed.
"
Wu Xie felt that someone had bumped her heart, and she panicked for a while, then Zhang Qiling's quiet voice of lectures sounded on the podium again, without a trace of emotion, Wu Xie was slightly lost.
After class, Wu Xie watched Zhang Qiling tidy up the computer from his seat, hesitated for a while, walked up to the podium, and asked before approaching Zhang Qiling, "What's wrong?"
Wu Xie was in an inexplicably good mood, "Hehe" touched his head in embarrassment, "Mr. Zhang, I'm here to apologize."
Zhang Qiling paused, looked up at Wu Xie, raised his chin slightly, "Yes."
Wu Xie took out her mobile phone and handed it to Zhang Qiling, "I received the notification in class."
Zhang Qiling took it over and glanced at it. It was a project plan for social practice activities. It was arranged by the courtyard. Wu Xie's class was cleaning and commemorating the martyrs' tombs in the city. Just go out."
Wu Xie pouted, "Teacher, what you said is easy."
"Have you previewed C++?"
Wu Xie immediately nodded as if wanting to praise, "I have already previewed it! I have seen Chapter 3, teacher, please speak faster, I am not interesting in class at all!"
Zhang Qiling raised his eyebrows to see Wu Xie's frightened face, and pushed the computer over, "C++ is an extension of C language, please demonstrate the limitations of C language on C++."
C++, as the successor of C language, can be said to come from behind, greatly lifting the limitations of C language in some places, and what Zhang Qiling wants Wu Xie to demonstrate is that programming written in C++ with C language as the background will run incorrectly.
Wu Xie let out a "hey", skillfully creating new files and writing programs.
#include "iostream"
viodmain()
intx;
x = 9;
inty;
y = x + 1;
ints=0;
for(inti=1;i<=100;1++)
s+=i;
Getting started with C++ and having a good foundation in C language, Wu Xie wrote it effortlessly. After typing the code for a while, he ran it directly. As a result, the running page popped up below with a bang, and Wu Xie turned his head to read Zhang Qiling glanced at him, but the other party remained calm.Wu Xie could only bite the bullet and turned around to set a breakpoint to debug. After struggling for a long time, he couldn't find the error, but Zhang Qiling stood behind and watched again. Wu Xie had just finished shaking, and he felt embarrassed. He looked up and down Everyone from the first class came, Wu Xie turned around and begged for mercy with a sad face, "Ms. Zhang..."
Zhang Qiling asked, "Can't continue?"
Wu Xie nodded, "Yes."
Zhang Qiling leaned over, and Wu Xie was pressed between his chest and the computer, feeling a little uncomfortable, Zhang Qiling didn't seem to notice, directly opened "My Computer", dug out the folder where Wu Xie saved the programming files, and pointed to them one by one. Wu Xie looked.
"what is this?"
"Head file." Wu Xie answered honestly.
"this."
"Implementation file."
"What's the extension?" Zhang Qiling continued to ask, and Wu Xie leaned over to take a look, and immediately said "Hey", "I'm sorry, .CPP!"
"The name of the new project does not include the extension '.c', and the default is '.cpp' for the C++ background. How could it be wrong?" Wu Xie grinned awkwardly, and Zhang Qiling raised his eyes, "Pretend to be smart!"
Raising his hand and tapping on Wu Xie's forehead a few times, Wu Xie was a little stunned, only felt that the computer screen in front of him was all blurred, leaving only the faint warmth of his fingers on his forehead.
TBC
This chapter is actually my class notes, written to review C++... Occasionally interspersed with bottle evil interaction...
Microsoft Visual C++06
The social practice activity was originally scheduled to be this Saturday, but the fat man first objected, saying that "if you failed three subjects, you have to take a make-up exam", and successfully changed the tomb-sweeping activity to Friday afternoon when there were no classes, and Wu Xie happily kept it for himself. A free Saturday.
There was only one class on Thursday morning. Wu Xie came out of the classroom and went directly to the library. This week is the course selection week. Wu Xie has a compulsory course in engineering, and he is struggling with a few other subjects. Wu Xie thought about it. Called Zhang Qiling for help.
Zhang Qiling listened for a while, then said, "You wait in the library, I'll go over."
Wu Xie quickly replied, "No need, teacher, I'll just go find you!"
Zhang Qiling was silent for a while, then replied, "I don't have internet here."
Wu Xie froze for a moment, then patted his head in a slightly awkward manner, "Ah, then, then I'll wait for you here."
After hanging up the phone, Wu Xie sat in front of the computer and waited for Zhang Qiling, and directly opened the webpage to play a small game on the webpage. He shrank his neck belatedly, and closed the game page in embarrassment. Fortunately, Zhang Qiling also appeared at the stairs at this time, and Wu Xie raised his hand, "Mr. Zhang!"
The mobile phone in his trouser pocket vibrated at the same time. Zhang Qiling probably remembered to hang up before seeing Wu Xie. Wu Xie immediately connected, "Teacher!"
Zhang Qiling replied, "It costs a lot?" After finishing speaking, he hung up and walked over to Wu Xie. Wu Xie's face was slightly hot, and he answered all the slander in his heart. It's better to talk to him for a minute.Zhang Qiling leaned over and casually put his hand on Wu Xie's shoulder, "What's wrong?"
"Organizational Behavior is a must, and there are a few others," Wu Xie slid the mouse to show Zhang Qiling other
You'll Also Like
-
One Piece: Musicians and Generals.
Chapter 192 14 hours ago -
Siheyuan: I am a big capitalist after the founding of the People's Republic of China
Chapter 199 14 hours ago -
Naruto starts from live broadcasting to the ninja world
Chapter 623 14 hours ago -
Zerg: An incredible way to survive
Chapter 237 14 hours ago -
One Piece: I Am the Revolutionary Army
Chapter 381 14 hours ago -
I don't want to be a doctor either.
Chapter 214 14 hours ago -
Siheyuan: I have traveled through time and space and still can’t eat enough?
Chapter 160 14 hours ago -
Siheyuan: The Brilliant Life of Second Aunt
Chapter 168 14 hours ago -
Super Seminary: This Super Calculator Has Become a Spirit
Chapter 214 14 hours ago -
Siheyuan: I can change size at will
Chapter 243 14 hours ago