يتناول هذا الدرس مفهوم الدوال (Functions) في البرمجة وكيف تساعد في تنظيم الكود وتجنب التكرار. يشرح الفيديو كيفية تعريف الدوال واستدعائها، والتفريق بين أنواعها سواء كانت تستقبل معاملات أو تُعيد قيمة. كما يقدم أمثلة عملية توضح مكوّنات الدالة وطريقة عملها، إلى جانب استخدام دوال جاهزة من مكتبات ++C. ويشمل الدرس تمارين تطبيقية لفهم تمرير القيم، وإرجاع النتائج، وتنفيذ الكود بشكل منظم داخل البرنامج.
البرمجة للمبتدئين مع ++C
- وصف
- المناهج الدراسية
- المراجعات
First Section
-
101-Introduction programming
يُقدّم هذا الدرس أساسيات البرمجة ويشرح كيفية التفكير كمبرمج. يتناول التفكير المنطقي، وأهمية تقسيم المهام إلى خطوات أصغر. يشرح الفيديو أيضًا كيفية عمل المخططات الانسيابية وكيف تُساعد في تصوّر بنية البرنامج قبل كتابة الشيفرة البرمجية.
This lesson introduces the basics of programming and explains how to think like a programmer. It covers logical thinking, and the importance of breaking tasks into smaller steps. The video also explains how flowcharts work and how they help visualize a program’s structure before writing code. -
202-IDE & first program at C++
This lesson guides students through preparing their programming environment using the Code::Blocks IDE. It demonstrates how to install and set up the software, then walks through creating and running a first C++ program. The video introduces the basic structure of a C++ program, showing how to write, compile, and execute simple code.
يرشد هذا الدرس الطلاب خلال إعداد بيئة البرمجة الخاصة بهم باستخدام بيئة التطوير المتكاملة Code::Blocks. يوضح كيفية تثبيت البرنامج وإعداده، ثم يشرح كيفية إنشاء وتشغيل أول برنامج C++. يقدم الفيديو البنية الأساسية لبرنامج C++، موضحًا كيفية كتابة وتجميع وتنفيذ الشيفرة البرمجية البسيطة.
رابط تحميل بيئة العمل المشروحة ضمن الدرس
link for download the environment ( code:blocks and the compiler) -
303-Variables & Data Types
This lesson introduces fundamental programming concepts, including identifying different data types and understanding what variables are and how they store information. It also explains how to input data from the user and display output on the screen, helping learners build a solid foundation for writing interactive programs.
يُقدّم هذا الدرس مفاهيم البرمجة الأساسية، بما في ذلك تحديد أنواع البيانات المختلفة وفهم ماهية المتغيرات وكيفية تخزينها للمعلومات. كما يشرح كيفية إدخال البيانات من المستخدم وعرض النتائج على الشاشة، مما يُساعد المتعلمين على بناء أساس متين لبرامج الكتابة التفاعلية.
-
404-Variables & Data Types_2
This lesson introduces fundamental programming concepts, including identifying different data types and understanding what variables are and how they store information. It also explains how to input data from the user and display output on the screen, helping learners build a solid foundation for writing interactive programs.
يُقدّم هذا الدرس مفاهيم البرمجة الأساسية، بما في ذلك تحديد أنواع البيانات المختلفة وفهم ماهية المتغيرات وكيفية تخزينها للمعلومات. كما يشرح كيفية إدخال البيانات من المستخدم وعرض النتائج على الشاشة، مما يُساعد المتعلمين على بناء أساس متين لبرامج الكتابة التفاعلية.
-
505-IF Statement (Conditions)
This lesson provides a simplified explanation of the concept of conditionals in programming and how to follow efficient steps with values and pointers. The video explains how to use `if` and `else` conditional statements in several different ways, with examples, and helps in understanding how safe forks work.
يقدّم هذا الدرس شرحًا مبسطًا لفكرة الشرط في البرمجة وكيف يمكن للبرنامج اتخاذ قرارات بناءً على القيم والمعطيات. يشرح الفيديو كيفية استخدام العبارات الشرطية if و else if و else لتنفيذ أوامر مختلفة حسب تحقق الشرط، مع أمثلة توضيحية تسهّل فهم عمل التفرعات البرمجية.
-
606-Switch statement & example
يشرح هذا الدرس كيفية استخدام العبارة الشرطية switch في البرمجة كطريقة منظمة للتعامل مع القيم المختلفة. يوضّح الفيديو متى يكون استخدام switch مناسبًا، وكيف تُبنى فروع متعددة لمعالجة كل حالة. كما يتناول الدرس كيفية كتابة برامج تتفاعل مع القيم المنطقية وتنفّذ أوامر مختلفة بناءً على مدخلات المستخدم أو نتائج العمليات.
This lesson explains how to use the `switch` conditional statement in programming as a structured way to handle different values. The video demonstrates when using `switch` is appropriate and how to build multiple branches to handle each case. The lesson also covers how to write programs that interact with logical values and execute different commands based on user input or the results of operations. -
7Assignment 1 (about previous lessons)
-
807 - for loop
This lesson explains the concept of loops in programming and how repetition helps automate repeated tasks. It introduces the three main types of loops—for, while, and do-while—and clarifies the differences between them. The video also demonstrates when and how to use each loop type through simple, practical examples that build a clear understanding of iterative logic.
يشرح هذا الدرس مفهوم الحلقات في البرمجة، وكيف يُساعد التكرار على أتمتة المهام المتكررة. يُعرّف بأنواع الحلقات الرئيسية الثلاثة - for، while، وdo-while - ويوضح الفروق بينها. كما يُوضّح الفيديو متى وكيف يُستخدم كل نوع من الحلقات من خلال أمثلة بسيطة وعملية تُساعد على فهم المنطق التكراري بشكل واضح. -
908- while loop
This lesson explains the concept of loops in programming and how repetition helps automate repeated tasks. It introduces the three main types of loops—for, while, and do-while—and clarifies the differences between them. The video also demonstrates when and how to use each loop type through simple, practical examples that build a clear understanding of iterative logic.
يشرح هذا الدرس مفهوم الحلقات في البرمجة، وكيف يُساعد التكرار على أتمتة المهام المتكررة. يُعرّف بأنواع الحلقات الرئيسية الثلاثة - for، while، وdo-while - ويوضح الفروق بينها. كما يُوضّح الفيديو متى وكيف يُستخدم كل نوع من الحلقات من خلال أمثلة بسيطة وعملية تُساعد على فهم المنطق التكراري بشكل واضح. -
1009- do_while and end of loops
This lesson explains the concept of loops in programming and how repetition helps automate repeated tasks. It introduces the three main types of loops—for, while, and do-while—and clarifies the differences between them. The video also demonstrates when and how to use each loop type through simple, practical examples that build a clear understanding of iterative logic.
يشرح هذا الدرس مفهوم الحلقات في البرمجة، وكيف يُساعد التكرار على أتمتة المهام المتكررة. يُعرّف بأنواع الحلقات الرئيسية الثلاثة - for، while، وdo-while - ويوضح الفروق بينها. كما يُوضّح الفيديو متى وكيف يُستخدم كل نوع من الحلقات من خلال أمثلة بسيطة وعملية تُساعد على فهم المنطق التكراري بشكل واضح. -
11Assignment 2 (about loops)
-
12010-Array _1
This lesson explains the concept of arrays in programming and why they are important for storing a collection of values under a single name. The video covers how to declare arrays and store data within them, as well as how to access their elements using indexing. It also demonstrates how to use arrays within loops to efficiently perform iterative operations on all elements.
يشرح هذا الدرس مفهوم المصفوفات في البرمجة ولماذا تُعد مهمة لتخزين مجموعة من القيم تحت اسم واحد. يتناول الفيديو كيفية إعلان المصفوفات وتخزين البيانات داخلها، بالإضافة إلى طريقة الوصول إلى عناصرها باستخدام الفهرسة. كما يوضّح كيفية استخدام المصفوفات داخل الحلقات لتنفيذ عمليات متكررة على جميع العناصر بفعالية.
-
13011-Array 2
This lesson explains the concept of arrays in programming and why they are important for storing a collection of values under a single name. The video covers how to declare arrays and store data within them, as well as how to access their elements using indexing. It also demonstrates how to use arrays within loops to efficiently perform iterative operations on all elements.
يشرح هذا الدرس مفهوم المصفوفات في البرمجة ولماذا تُعد مهمة لتخزين مجموعة من القيم تحت اسم واحد. يتناول الفيديو كيفية إعلان المصفوفات وتخزين البيانات داخلها، بالإضافة إلى طريقة الوصول إلى عناصرها باستخدام الفهرسة. كما يوضّح كيفية استخدام المصفوفات داخل الحلقات لتنفيذ عمليات متكررة على جميع العناصر بفعالية.
-
14012 -Array example
This lesson explains the concept of arrays in programming and why they are important for storing a collection of values under a single name. The video covers how to declare arrays and store data within them, as well as how to access their elements using indexing. It also demonstrates how to use arrays within loops to efficiently perform iterative operations on all elements.
يشرح هذا الدرس مفهوم المصفوفات في البرمجة ولماذا تُعد مهمة لتخزين مجموعة من القيم تحت اسم واحد. يتناول الفيديو كيفية إعلان المصفوفات وتخزين البيانات داخلها، بالإضافة إلى طريقة الوصول إلى عناصرها باستخدام الفهرسة. كما يوضّح كيفية استخدام المصفوفات داخل الحلقات لتنفيذ عمليات متكررة على جميع العناصر بفعالية.
-
15013-Array 2D
This lesson introduces two-dimensional arrays (2D Arrays) in C++, explaining how data can be stored and organized in rows and columns. It covers declaration, initialization, input, and output of 2D arrays using nested loops, with clear visual tables and code blocks. The lesson also includes practical examples such as calculating row and column sums, finding the maximum element, and hands-on exercises to strengthen understanding.
يُقدّم هذا الدرس المصفوفات ثنائية الأبعاد في لغة C++، موضحًا كيفية تخزين البيانات وتنظيمها في صفوف وأعمدة. ويتناول الدرس تعريف المصفوفات ثنائية الأبعاد، وتهيئتها، وإدخالها، وإخراجها باستخدام الحلقات المتداخلة، مع جداول مرئية واضحة وكتل برمجية. كما يتضمن الدرس أمثلة عملية مثل حساب مجموع الصفوف والأعمدة، وإيجاد العنصر الأكبر، وتمارين تطبيقية لترسيخ الفهم.
-
16014-Array 2D examples
This lesson introduces two-dimensional arrays (2D Arrays) in C++, explaining how data can be stored and organized in rows and columns. It covers declaration, initialization, input, and output of 2D arrays using nested loops, with clear visual tables and code blocks. The lesson also includes practical examples such as calculating row and column sums, finding the maximum element, and hands-on exercises to strengthen understanding.
يُقدّم هذا الدرس المصفوفات ثنائية الأبعاد في لغة C++، موضحًا كيفية تخزين البيانات وتنظيمها في صفوف وأعمدة. ويتناول الدرس تعريف المصفوفات ثنائية الأبعاد، وتهيئتها، وإدخالها، وإخراجها باستخدام الحلقات المتداخلة، مع جداول مرئية واضحة وكتل برمجية. كما يتضمن الدرس أمثلة عملية مثل حساب مجموع الصفوف والأعمدة، وإيجاد العنصر الأكبر، وتمارين تطبيقية لترسيخ الفهم.
-
17015-function 1
-
18016-function 2
-
19017-function 3
-
20018- function (by reference & by value)
This lesson explains the two main ways to pass values to functions in C++—by value and by reference. It shows how each method affects the original variable and demonstrates their differences through clear examples. The lesson also provides practical situations for choosing the appropriate method and includes an applied exercise using a swap function.
يشرح هذا الدرس الطريقتين الرئيسيتين لتمرير القيم إلى الدوال في لغة C++: بالقيمة وبالمرجع. ويوضح كيفية تأثير كل طريقة على المتغير الأصلي، ويوضح اختلافاتها من خلال أمثلة واضحة. كما يوفر الدرس مواقف عملية لاختيار الطريقة المناسبة، ويتضمن تمرينًا عمليًا باستخدام دالة المبادلة.
-
21019- function (Overloading)
This lesson introduces the concept of function overloading in C++, showing how multiple functions can share the same name as long as their parameters differ in number or type. It demonstrates how the compiler selects the correct version automatically and explains when overloading is useful for writing cleaner and more organized code.
يُقدّم هذا الدرس مفهوم التحميل الزائد للدوال في لغة C++، مُبيّنًا كيف يُمكن لدوال متعددة أن تتشارك الاسم نفسه طالما اختلفت مُعاملاتها في العدد أو النوع. كما يُوضّح كيف يختار المُجمّع الإصدار الصحيح تلقائيًا، ويشرح متى يكون التحميل الزائد مفيدًا لكتابة أكواد أكثر تنظيمًا ووضوحًا.
-
22020- function (Random number)
This lesson introduces the concept of random numbers in programming, explains how to generate them using C++ functions, and shows how to control their range. It also includes a practical example by building a simple “Guess the Number” game to apply random number generation in an interactive program.
يُقدّم هذا الدرس مفهوم الأرقام العشوائية في البرمجة، ويشرح كيفية توليدها باستخدام دوال C++، ويُبيّن كيفية التحكم في نطاقها. كما يتضمن مثالاً عملياً لبناء لعبة "تخمين الرقم" البسيطة لتطبيق توليد الأرقام العشوائية في برنامج تفاعلي.
-
23Assignment 3 (about Function )
Starting Course
يرجى، تسجيل الدخول لترك مراجعة