Luyện nói tiếng Anh bằng Shadowing qua video: C++ in 100 Seconds

Đang tạo bài học...
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.

Bối cảnh & Nền tảng

C++ là một ngôn ngữ lập trình được biên dịch và kiểu tĩnh, nổi tiếng vì được sử dụng rộng rãi trong hạ tầng phần mềm cũng như vì độ khó khi học. Ngôn ngữ này được tạo ra vào năm 1979 bởi Bjorn Straustrup tại AT&T Bell Labs. Với nguồn cảm hứng từ tính chất hướng đối tượng của Simula, ông cần một ngôn ngữ có hiệu suất cao như C, và từ đó "C với Các lớp" đã ra đời. C++ được thiết kế như một siêu tập của C, nghĩa là bất kỳ chương trình C nào cũng có thể là một chương trình C++ hợp lệ.

5 Câu Nói Hữu Ích Trong Giao Tiếp Hằng Ngày

  • "Hello World" - Câu chào đầu tiên trong lập trình C++.
  • "Include Iostream" - Câu lệnh cần thiết để xử lý đầu vào và đầu ra.
  • "Create a file ending in CPP" - Bước đầu tiên để bắt đầu viết chương trình.
  • "Define attributes and methods" - Khái niệm cơ bản trong lập trình hướng đối tượng.
  • "Compile it using Clang++" - Cách biên dịch chương trình của bạn.

Hướng Dẫn Shadowing Từng Bước

Để luyện nói tiếng Anh hiệu quả qua video này, bạn có thể áp dụng phương pháp shadowing. Đầu tiên, hãy chọn một đoạn video ngắn mà bạn cảm thấy thú vị và phù hợp với trình độ của mình. Sau đó, thực hiện theo các bước sau:

  1. Xem video lần đầu: Chỉ cần tập trung lắng nghe mà không cần nói theo.
  2. Xem video lần hai: Bắt đầu lặp lại những gì bạn nghe được, cố gắng nhại lại ngữ điệu và ngữ điệu.
  3. Sử dụng phần mềm shadowing: Tìm kiếm các phần mềm hỗ trợ luyện nghe nói qua video để giúp bạn theo dõi tốt hơn.
  4. Luyện tập thường xuyên: Duy trì thói quen luyện nói tiếng Anh hàng ngày để cải thiện kỹ năng một cách nhanh chóng.
  5. Ghi âm lại: Ghi âm giọng nói của bạn khi luyện tập để tự nghe và điều chỉnh phát âm.

Việc áp dụng những câu nói được trích dẫn ở trên và thực hành theo phương pháp shadowing sẽ giúp bạn tăng cường khả năng giao tiếp và tự tin hơn khi sử dụng tiếng Anh trong cuộc sống hàng ngày. Hãy bắt đầu ngay hôm nay và cảm nhận sự tiến bộ của bản thân nhé!

Phương Pháp Shadowing Là Gì?

Shadowing là kỹ thuật học ngôn ngữ có cơ sở khoa học, ban đầu được phát triển cho chương trình đào tạo phiên dịch viên chuyên nghiệp và được phổ biến rộng rãi bởi nhà đa ngôn ngữ học Dr. Alexander Arguelles. Nguyên lý cốt lõi đơn giản nhưng cực kỳ hiệu quả: bạn nghe tiếng Anh của người bản xứ và lặp lại to ngay lập tức — như một "cái bóng" (shadow) đuổi theo người nói với độ trễ chỉ 1–2 giây. Khác với luyện ngữ pháp hay học từ vựng bị động, Shadowing buộc não bộ và cơ miệng phải đồng thời xử lý và tái tạo ngôn ngữ thực tế. Các nghiên cứu khoa học xác nhận phương pháp này cải thiện đáng kể phát âm, ngữ điệu, nhịp điệu, nối âm, kỹ năng nghe và độ lưu loát khi nói — đặc biệt hiệu quả cho người luyện IELTS Speaking và muốn giao tiếp tiếng Anh tự nhiên như người bản ngữ.

Phương pháp shadowing: đọc hướng dẫn từng bước đầy đủ →