تدريب Shadowing: C++ in 100 Seconds - تعلم التحدث بالإنجليزية عبر الفيديو

جارٍ إنشاء الدرس...
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.

السياق والخلفية

في عالم البرمجة، تُعتبر لغة C++ واحدة من اللغات الرائدة التي تُستخدم بشكل واسع في تطوير البرمجيات والبنية التحتية. تم إنشاء هذه اللغة في عام 1979 على يد بيورن ستراوستروب، الذي استلهم فكرة اللغة من الخصائص الموجهة للكائنات في لغة Simula، لكنه كان بحاجة إلى لغة تقدم أداءً عالياً مثل C. ولذلك، وُلدت C++ كنسخة محسّنة من C، حيث تقدم مزيجاً من السيطرة على الذاكرة والعتاد، مع توفير تجريدات عالية المستوى مثل الفئات والمؤشرات الذكية. تعتبر هذه اللغة مثالية لمجموعة واسعة من التطبيقات، بدءًا من محركات الألعاب إلى أنظمة قواعد البيانات.

أهم 5 عبارات للتواصل اليومي

  • Hello World - عبارة شهيرة تُستخدم لتقديم أولى خطوات البرمجة.
  • Object-oriented programming - البرمجة الموجهة للكائنات، وهي مفهوم أساسي في C++.
  • Constructor and Destructor - مفهوم مهم في التعامل مع إنشاء وتدمير الكائنات.
  • Polymorphism - تعدد الأشكال، وهو أحد المفاهيم الرئيسية في البرمجة.
  • Memory management - إدارة الذاكرة، وهي مهارة أساسية في البرمجة بلغة C++.

دليل خطوة بخطوة لممارسة المحادثة

إذا كنت ترغب في تحسين مهاراتك في المحادثة بلغة الإنجليزية، يمكنك استخدام تقنية shadowspeak التي تتيح لك تقليد المتحدثين الأصليين. إليك بعض الخطوات لمساعدتك في ذلك:

  1. شاهد الفيديو بتركيز، واستمع جيداً للعبارات المستخدمة.
  2. قم بتدوين العبارات الرئيسية التي ترغب في ممارستها، مثل العبارات المذكورة أعلاه.
  3. استخدم تقنية shadowing من خلال تكرار ما تسمعه في الفيديو بعد كل جملة. حاول تقليد النغمة والإيقاع.
  4. كرر العملية عدة مرات حتى تشعر بالراحة مع النطق والتعبير.
  5. جرب استخدام نفس العبارات في محادثاتك اليومية مع الآخرين، مما يساعدك على تعزيز المهارات المكتسبة.

بالإضافة إلى ذلك، يمكنك البحث عن مواقع shadowing site لممارسة المحادثة الإنجليزية وتحسين طلاقتك. تذكر أن الممارسة المستمرة هي المفتاح لتحقيق تقدم ملحوظ في مهاراتك اللغوية.

ما هي تقنية التظليل الصوتي؟

التظليل الصوتي (Shadowing) تقنية تعلم لغة مدعومة علمياً، طُورت أصلاً لتدريب المترجمين الفوريين المحترفين. الطريقة بسيطة لكنها قوية: تستمع لصوت إنجليزي أصلي وتكرره فوراً بصوت عالٍ — كظل يتبع المتحدث بتأخير 1-2 ثانية. تُظهر الأبحاث تحسناً كبيراً في دقة النطق والتنغيم والإيقاع وربط الأصوات والاستماع والطلاقة.

تقنية الشادوينغ: اقرأ الدليل الكامل خطوة بخطوة →