跟讀練習: C++ in 100 Seconds - 通過影片學習英語口語

選擇練習模式

每種模式都會開啟全屏練習室。

30 句
如果句子過短或過長,請點選 Edit 進行調整。
1
C++, a statically typed compiled programming language famous for its widespread use in software infrastructure and infamous for its steep learning curve.
2
It was created in 1979 by Bjorn Straustrup at AT &T Bell Labs.
3
He was inspired by the object -oriented nature of Simula, but needed a language with the high performance of C, and thus, C with Classes was born.
4
It's designed as a superset of C, which means that virtually any C program is also a valid C++ program, but it also adds zero overhead abstractions,
5
such as object -oriented patterns like polymorphism, encapsulation, and inheritance.
6
Today, it's used in a wide variety of systems with constrained memory demands, like the Unreal Engine for AAA video games, programs like Adobe After Effects that were used to edit this video,
7
databases like MySQL and MongoDB, embedded systems like the display on your smart toaster, and is used to implement much of our low -level infrastructure, like language compilers and virtual machines.
8
It's so popular because it provides low -level memory and hardware control like C, but with high -level abstractions like classes and smart pointers.
9
C++ makes it harder to shoot yourself in the foot, but when you do, it'll blow your whole leg off.
10
To get started, install a C++ compiler like GCC or Clang, then create a file ending in CPP.
11
Include Iostream from the standard library to handle input and output.
12
Your code will start executing from the main function.
13
To print Hello World, we simply use standard character output followed by the bitwise shift left operator and a string literal.
14
We can get rid of this std though by adding a namespace to the top of the file.
15
Now if we want to create a string variable, we can do so by typing it as an array of characters.
16
However, if we include string from the standard library, we can use the string type instead.
17
The real game changer though is the fact that C++ supports object -oriented programming with classes.
18
A class is just a blueprint for an object.
19
Inside a class, you can define attributes and methods that will be private by default, or make them public by adding them under the public specifier.
20
It's also possible to define methods outside the class definition using a double colon.
21
Methods can also be defined multiple times with different parameters, which is known as overloading and is a form of polymorphism.
22
In addition, we can define constructors and destructors to run code when an object is created or destroyed.
23
Classes also support inheritance, allowing developers to more efficiently share logic throughout a program.
24
To instantiate an object, type the class name, followed by the name of your object, and optionally any parameters for the constructor.
25
When it comes to memory, we could manage everything manually with pointers and references.
26
However, tools like Unique Pointer can get the job done in a way that's easier and safer, by ensuring that only one object can be allocated to memory.
27
Now to run your code, open up the terminal, and use a tool like Clang++ to compile it.
28
This has been C++ in 100 seconds.
29
Hit the like button and subscribe if you want to see more short videos like this.
30
Thanks for watching, and I will see you in the next one.

下載應用

流利口語所需的一切

AI 發音評分逐句打分
音標練習掌握每個音
詞彙學習建立你的詞庫
詞彙遊戲邊玩邊學

同頻道

FOR YOU

推薦影片

這個影片適合誰?

無論你是剛開始“看影片學英語”的新手,還是想提升“英語口語練習”或“雅思口語練習”水平的學習者,這個影片都超合適!它用簡潔的語言講解C++,語速適中,內容有趣,非常適合用來練聽力和跟讀。哪怕你對程式設計一竅不通,也能通過它積累實用表達,快速收穫學習成就感。

值得“偷學”的詞彙和習語

影片裡有不少亮眼表達,趕緊記下來!比如“steep learning curve”(陡峭的學習曲線,指很難學),“shoot yourself in the foot”(搬起石頭砸自己的腳,指做蠢事),“blow your whole leg off”(後果嚴重)。這些習語生動形象,在口語中用上絕對加分!還有“statically typed”(靜態型別的)、“polymorphism”(多型性)等專業術語,雖然是程式設計詞彙,但能幫你拓展詞彙量,應對各種話題。

如何練好發音?

想通過“shadow speech”(影子跟讀)提升口音?跟著影片練這幾點!首先,注意單詞重音,比如“infrastructure”重音在第二個音節,“polymorphism”重音在第四個音節。其次,模仿連讀和弱讀,比如“a wide variety of”中“a”弱讀成/ə/,“of”弱讀成/əv/。最後,關注語調,影片中講解關鍵資訊時語調會升高,比如提到“zero overhead abstractions”時,語氣明顯加重。每天用“shadowspeak”法跟讀5分鐘,不出一週就能感受到進步!

這個影片不僅能讓你瞭解C++,更是“看影片學英語”的好素材。趕緊開啟影片,跟著影子跟讀,一邊學知識一邊練口語,輕鬆實現雙贏!

什麼是跟讀法?

跟讀法 (Shadowing) 是一種有科學依據的語言學習技巧,最初開發用於專業口譯員的培訓,並由多語言者Alexander Arguelles博士普及。這個方法簡單而強大:您在聽英語母語原聲的同時立即大聲重複——就像是一個延遲1-2秒緊跟說話者的影子。與被動聽力或語法練習不同,跟讀法強迫您的大腦和口腔肌肉同時處理並模模擬實的講話模式。研究表明它能顯著提高發音準確性,語調,節奏,連讀,聽力理解和口語流利度——使其成為雅思口語備考和真實英語交流最有效的方法之一。

影子跟讀法: 閱讀完整分步指南 →