シャドーイング練習: 33 Chia class thành các file - YouTubeで英語スピーキングを学ぶ

C1
Hello everyone, I'm Nguyễn Coder.
⏸ 一時停止中
204
文が短すぎたり長すぎる場合は、Editをタップして調整してください。
1
Hello everyone, I'm Vũ Nguyễn Coder.
2
Welcome to the video of the lesson of the Codd.
3
In this video, we will talk about the methods to create a project,
4
a practical project, a practical project, a practical project.
5
Why is it practical?
6
So, today we will learn how to do not practical.
7
Not that, but we will take a look at the example of the video that I have used in this video.
8
We have a series of classes that we have many classes and we have all the classes in one file
9
and we have to learn all the classes in one file
10
We have only one file that we have to write many classes like this In a practical project,
11
the class of it is how many?
12
It depends on the level It may be 100 or 1000 classes There are many classes
13
and we will not bring all classes in one file like this
14
but we will take it to the same
15
but in the first time we will learn the source
16
and the basic and the number of class is so we will write it in one file
17
for what? for you to follow the following we will be
18
able to follow the following we will be able to follow the following
19
and today we will be able to learn the following
20
how to share the class with each other okay then we will be able to follow the application Visual Studio
21
if you work on some tools then it's the same thing,
22
it's not the same thing.
23
I'm not doing it on a file called bai mở đầu.cpp This is the name I'm starting to start.
24
Okay, I'm going to change the file for it to be a little bit.
25
The file is not a main,
26
we will change the name.
27
It's not a main name.
28
Or, I'm going to change the name of the project.
29
The project is still in the same way.
30
I will change the name because it can be used to the class vehicle I call vehicle program Do you know that?
31
That's it So that you can use the name here
32
To add the name for the file to choose the name In the case,
33
one project will have to choose the name And the file is like the file of the mouth From the file,
34
it will be used to the object
35
And the name of the name is the name of the file
36
This is what I know about in the video I teach
37
We are just going to have a file Chứa hàm mê này thôi
38
If you create a file khác Chứa hàm mê là nó lỗi
39
Bước 2 Chúng ta sẽ phải chia các class Về các file khác nhau
40
Chia như thế nào Chúng ta sẽ tạo thêm file ở đây
41
Anh em chuột phải vào tên project này Anh em chọn add for me
42
Sau đó anh em chọn cái gì
43
Một là anh em chọn new item Nhưng trong Visual Studio the class name is so it will be a a
44
a a a a a a
45
a a a a a a Vico like this right?
46
It's like it's in the middle of the video
47
It's a bit of a video One is .h file Two is .cpp file Then it's something else I will know
48
When we do this Then we will add 2 files One is .h Two is .cpp Okay The base class is what?
49
Is there a class?
50
in the right now we are not going to be able to do it
51
and I said it is public and it is a good thing okay I'm going to be ok I'm gonna
52
I'm going to be a vehicle already implemented in this project I'm going to be a class
53
so
54
that it is not to add this tool is also quite
55
a mạnh I think class is already I'm not going to be a class
56
so I'm going to be a class so I'm going to be a class I'll be a class
57
I'm going to rename it to do it then we will change the day
58
because we are having to change the name is next I
59
just don't do it I just don't didn't deserve to have organized allurs are enough to sing the name第三
60
the profile to
61
in from apply All of our Build HrS of 2 Yeah vì notice that what does do parent console No
62
good that is at work
63
have you know know something to przek them again report
64
that is and I know that I was when the class on I'm going to check this out Okay,
65
I'm going to check this code Let me see it
66
If you want to check this I'm going to check this tab I'm going to check this Now,
67
I have a file called vii.cpp I'm going to check this out I see it here There's 4 hướng
68
If you want to check this out If you want to check this out I'm going to check it out
69
now I will open up two keys to chat I will open it up to you
70
right now
71
I will explain what the .h and .cpp
72
.h .h here is the header
73
which is the first
74
file header is the file that is all the features of the class and the method of class
75
I will take it from this side
76
I am going to what is what
77
I am going to have to democratize this picture and we now have these two pictures on it
78
by seeing you can see from our clients here
79
and here to finish is take out inside paper right now we had to remove it from the示ÍSTAL it's not
80
because we are in private related tohis it's first house I'm
81
going to show you house make sure nothing to do that Okay
82
oh yeah in that should be ridiculous test they are poor leverage
83
in there we are still very concerned about the file CPP
84
I will show you to use the file H this first
85
when we share this vehicle into the header this then we
86
can use it like this we will go back to the vehicle program
87
class vehicle we have to be divided into the file
88
that we have to use that vehicle that we will do what we will do
89
meiner Mark Wentz sau đó sẽ là tên của cái file
90
mà chưa cái cáiório đó ở đây sẽ là gì gì hay cô chẳng
91
ạ Bây giờ anh em chạy lại sur tr связ n ạ
92
Anh có một số L strokes em trên giúp gì đã
93
thì hay cô hay lỗi của nó bắt đầu từ thế này
94
Ừ Đấy tớ làm có một số cái hai Cô đây nhưng lại mình đổ sang số 2
95
and you change it all the links
96
and completing the
97
all of the cars are going downhill ATEOO THIS KHAT dwa king of visual studio ok let's conduct
98
No we just call the run of the vehicle Kia Morning,
99
East Running, Forenser East Running the channel is more
100
and more more than the other
101
so we call the other the other way to the other of all the other that's it
102
that's it we have to do this we have to do
103
this we have to do this we have to do this
104
we have to do this we have to do this is a header.
105
When we call the video,
106
we call the included included.
107
The included included is the included code from the other side.
108
Do you know what I mean?
109
The included included included included in the vector,
110
included in the IOS stream.
111
This is the included code of the available for the available.
112
The available available for the C++ so it's a key to the
113
key to the lower than the first
114
and this is the file in the project
115
we use the and we use the and we use the
116
and we use the and we use the class manager and the app we can totally
117
share it in the file header
118
ok that's what we do we need to do to do
119
if we have if we have to do the
120
and we can code and we will do then we will
121
and we will say and we will we will file .hp và cpp này mình sẽ trở lại cái này
122
bây giờ anh em đã hiểu được là file header là
123
như thế nào rồi đúng không chúng ta ném code vào đấy
124
đúng không nhỉ xong cho một thằng khác include nó
125
là đã có thể liên kết đến nhau đúng không nhỉ
126
vậy bây giờ ở đây có cái cpp này để làm gì
127
trong thực tế thì cái header header là gì header là cái đầu
128
header có thể coi nó là cái phần đầu thôi
129
phần đầu ở đây có nghĩa là gì là nó thể
130
hiện những cái thông tin cơ bản của một chương trình Gồm có thuộc tính gì Function gì,
131
method gì thôi Và cái phần cài đặt cụ thể cho
132
các cái function Thì chúng ta sẽ để ở bên cpp
133
Bằng cách như thế nào Ở đây anh em thấy nha
134
Ở bên phần header thì chúng ta sẽ chỉ để cái thuộc tính như thế này
135
Chỉ để định nghĩa của hàm thôi
136
Đây cái phần này này CLModelNameIsRunning này Cái này nó là phần Nội dung cụ thể cho cái function
137
Thì anh em sẽ đặt ở bên này Mình tạm thời cắt nó sang
138
Cắt sang bên này đã
139
Tí nó viết chính xác như nào thì mình nói sau nhé
140
Đấy tức là ở bên header ấy Thì chúng ta sẽ chỉ có như thế này thôi
141
Rồi phần constructor này Mình cũng sẽ tặng cắt sang này
142
Nó cũng chỉ có như này thôi Nó chỉ có những cái phần định nghĩa
143
Như này thôi Đây gọi là phần header Chúng ta bỏ đi những cái nội dung định nghĩa cho hàm
144
Sang đến file cpp Chúng ta mới định nghĩa cụ thể cho từng cái function đấy Nhá
145
Và cái việc mà định nghĩa Cụ thể,
146
we still have one other thing called implementation Which is to purchase for all the functions How do we do this?
147
In order to get it like this We'll write the name We'll write the name Like this
148
Then we'll write the name Like this We'll write the name We'll write the name We'll write the name
149
We'll write the name We'll write the name This is like this
150
in the way this is a file
151
that is from the class this is the function of the class
152
so we have to show the function of the class this is the class
153
and then we will be able to do this and then we will be able to write it like this Yeah,
154
right now I'm like Okay,
155
there you go
156
Yeah, so trước the function we have the name of the class
157
There you go This is not necessary to write the feature I just need to write the meaning of the function
158
The feature is the key word that we only use in the class Now,
159
we will write the cpp file that we have to write the link
160
and we have the meaning of the function that we have not in the class anymore,
161
but we will not use the feature We will write the feature here You can write permission later,
162
you can read your 믿 book Again Forkost I also the fact is that These files of CPPs ...
163
You can get a de hook,
164
don't you?' Sẽ also have data and d elastécole How to docks of this cluster They usually press this file
165
How to advocate that doesn't even employ Classes does suit to whatires i But if we have this alignment for thisIGN kind,
166
we will match it back to be a bit paralysized.
167
That means one part is this.
168
Now let's see if it has not left mind.
169
Ok, unlike me now.
170
We can see these― 다음 videos is so different than the...
171
In this case, we had to set the Creepers fromsight to happens.
172
in a song card header này cũng sẽ rút gọn lại
173
là nó chỉ có phần định nghĩa thôi để như kiểu
174
chúng ta chỉ đọc cái nội dung của cái hàm này
175
thôi nhưng mà còn cài đặt lập trình như nào thì
176
chúng ta sẽ lập trình riêng ở một file là cpp
177
nhé cái file cpp này nhé anh em phải đi nhé
178
là nó sẽ phải có cùng tên với cái file chấm
179
ht thì khác cái đuôi thôi nhé một cái là chấm
180
ht này một cái chấm cpp này nó hơi nhỏ tí
181
anh em có nhìn không Đây là vi hay cô chấm
182
hát này bên này nhé có bên này là vi hay
183
CPP Được không ạ Và cái CPP này nó cũng phải
184
include cái chấm hát đó in phải có ít lốt thì
185
nó mới liên kết được các file với nhau anh em
186
nhé Đấy cái CPP này liên kết với file chấm hát
187
này để định nghĩa các cái hàm cụ thể cho nó
188
được không ạ Còn cái program này include cái vehicle để
189
làm gì để sử dụng cái vì cái class vehicle đó
190
cho cái gì cho cái manager này được không nhỉ Và
191
bây giờ nếu mà cái manager này nhé mà chúng ta
192
chia thành một cái class riêng thì anh em cũng phải include and
193
but especially if a jumbo that really gets something wrong is that maybe you couldn't invest a human flaw that,
194
we could consume whatever ру Themen is there,
195
it can be and we aslında's something Didn't we ask about creating one thing that we do
196
here today is the important thing to see what the XD is for H轻 hoang
197
this is our so that a ball add to it I'll get the right background for this Word,
198
the length of the other rows We have a new and Thinkest To make the single crunchy
199
In the short version rollt Good illuminator And I can see that Thank you
200
Good John for you He's not me more money Am I okay okay let's introduces a
201
process to ować I read I'm going with not to
202
do in Rồi, đến đây là kết thúc của video ngày hôm nay.
203
Xin chào và hẹn gặp lại các anh em trong những video đoạn sau.
204
Xin chào.

アプリをダウンロード

話したすべての文をAIが採点

スキャンしてダウンロード
スキャンしてダウンロード
TRENDING

人気動画

コンテキストと背景

このビデオのスピーカーは、Vũ Nguyễn Coderです。彼はプログラミングに関するレッスンを通じて、様々なクラスをファイルに分けて管理する方法について話しています。特にVisual Studioを使用して、実際のプロジェクトに適用する方法を解説しています。このようなコンテキストは、英語学習においても非常に実用的です。特に、技術的な内容を英語で理解することは、英語力を向上させるだけでなく、専門的な知識を深めることにも寄与します。

日常コミュニケーションのためのトップ5フレーズ

  • プロジェクトの作成方法:プロジェクトは、特定の目的に向かって複数のファイルとクラスを整理することが重要です。
  • クラスの数:実際のプロジェクトでは、100から1000以上のクラスが必要になる場合があります。
  • Visual Studioの活用:Visual Studioを使用することで、ファイルやクラスを簡単に管理することができます。
  • ファイル名の変更:プロジェクト名やファイル名は、内容を反映するように適切に設定する必要があります。
  • クラスを分ける理由:異なるクラスを別のファイルに分けることで、コードの可読性が向上します。

ステップバイステップのシャドウイングガイド

このビデオの理解を深めるために、シャドウスピーチを活用することが非常に役立ちます。以下は効果的にシャドウスピーキングを行うための手順です:

  1. ビデオの視聴:初めにビデオを一度通して視聴し、全体の流れや内容を把握します。
  2. シャドウイングの実施:次に、ビデオを一時停止し、スピーカーの発言を繰り返します。この際、声のトーンやスピードに注意を払います。これがIELTSスピーキング対策にもつながります。
  3. フレーズの確認:スクリプトを見ながら、知らない単語やフレーズをメモしておきます。これにより、英語の語彙が増えます。
  4. リピート練習:特に難しい部分は繰り返し練習し、流暢に言えるようにします。
  5. 総合的な理解:最後に、ビデオ全体を再視聴し、理解した内容が正しいか確認します。

このように、YouTubeで英語学習をする際は、シャドウイングが非常に効果的です。自分の声で繰り返すことで、発音や流暢さを養い、より自信を持って英語を話せるようになります。

シャドーイングとは?英語上達に効果的な理由

シャドーイング(Shadowing)は、もともとプロの通訳者養成プログラムで開発された言語学習法で、多言語習得者として知られるDr. Alexander Arguelles によって広く普及されました。方法はシンプルですが非常に効果的:ネイティブスピーカーの英語を聞きながら、1〜2秒の遅延で声に出してすぐに繰り返す——まるで「影(shadow)」のように話者を追いかけます。文法ドリルや受動的なリスニングと異なり、シャドーイングは脳と口の筋肉が同時にリアルタイムで英語を処理・再現することを強制します。研究により、発音精度、抑揚、リズム、連音、リスニング力、そして会話の流暢さが大幅に向上することが確認されています。IELTSスピーキング対策や自然な英語コミュニケーションを目指す方に特におすすめです。

コーヒーをおごる