Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 13

‫أهم الكلمات المحجوزة في لغة البرمجة سي بلس بلس‬

asm else new this


auto enum operator throw
true private explicit bool
try protected export break
case extern public typedef
typeid register false
catch
typename reinterpret_cast float char
union return for class
unsigned short frien const
using signed goto const_cast
virtual sizeof if
continue
void static inline default
volatile static_cast int delete
wchar_t struct long
do
while switch mutable double
And template namespace
dynamic_cast
and_eq xor not_eq bitor
bitand xor_eq or
compl
or_eq not

Lesson one

Word Meaning

Game ‫لعبة‬
Desktop Application ‫برنامج لسطح المكتب‬
Operating System ‫نظام تشغيل‬
Browser ‫متصفح اإلنترنت‬
Pointers ‫المؤشرات‬
Portable ‫نسخة محمولة‬
Cross Platform ‫يعمل على أكثر من منصة‬
App ‫تطبيق‬
Platform ‫منصة‬
Closer To Hardware ‫أقرب لمعدات الكمبيوتر‬
Playlist ‫قائمة تشغيل‬
Tool ‫أداة‬
Cover ‫تغطية‬

the code

#include <iostream>
int main()
{
std::cout << "Iam Dragon";
return 0;
}

Lesson two

Word Meaning

Support ‫تدعم‬
Procedural Programming ‫البرمجة اإلجرائية‬
Object Oriented Programming ‫البرمجة الكائنية‬
Paradigm ‫نموذج لكتابة الشفرة البرمجية‬
Style ‫ شكل‬/ ‫نمط‬
Benefit ‫منفعة‬
Offline ‫بدون إتصال باإلنترنت‬
Self Study ‫التعلم الذاتي‬
Course ‫دورة تعليمية‬
Resources ‫الموارد‬
Community ‫المجتمع‬
Framework ‫إطار عمل‬
Output ‫المخرجات‬
Learn ‫تعلم‬
Engineer ‫مهندس‬
Career ‫مسار مهني‬
Piece Of Cake ‫تعبير يدل على سهولة الشيء‬
Panel ‫لوحة تحكم‬
Front-End Developer ‫مطور الواجهات األمامية‬
Back-End Developer ‫مطور الواجهات الخلفية‬
Mobile Developer ‫مطور تطبيقات الجوال‬
Date Science ‫علوم البيانات‬
AI Artificial Intelligence ‫الذكاء اإلصطناعي‬
Machine Learning ‫تعلم اآللة‬
Critical Thinking ‫ المنطقي‬/ ‫التفكير النقدي‬
Knowledge ‫معرفة‬

Lesson three

Word Meaning

Text Editor ‫محرر نصوص برمجية‬


IDE ‫بيئة تطوير متكاملة‬
Run Code ‫تشغيل الكود البرمجي‬
Options ‫أختيارات‬
Extensions ‫إضافات‬
Free ‫مجاني‬
Fortran ‫لغة من لغات البرمجة‬
Tools ‫أدوات‬
Folder ‫مجلد‬
Fundamentals ‫أساسيات‬
Output ‫ الناتج‬/ ‫المخرجات‬
Framework ‫إطار عمل‬
‫‪Output‬‬ ‫المخرجات‬
‫‪Install‬‬ ‫وضع ‪ /‬تثبيت ‪ /‬تركيب‬
‫‪Compiled Languages‬‬ ‫لغات مترجمة للغة اآللة مباشرة‬
‫‪Source Code‬‬ ‫الكود المصدري‬
‫‪Must Be Translated‬‬ ‫البد أن يترجم‬
‫‪C++ Compiler‬‬ ‫مترجم لغة السي بلص بلص‬
‫‪C++ Debugger‬‬ ‫مصحح أخطاء لغةالسي بلص بلص‬
‫‪pre-installed‬‬ ‫مثبتة مسبقآ ‪ /‬مركبة من قبل‬
‫‪Error Detected‬‬ ‫أكتشاف أخطاء‬
‫‪Update‬‬ ‫يحدث ‪ /‬حدث‬
‫‪Quick Fix‬‬ ‫حل سريع‬
‫‪Cats‬‬ ‫قطط ‪ /‬كلمة ترمز للسطحيه‬
‫‪Dragons‬‬ ‫تنين ‪ /‬كلمة ترمز لقوة العلم‬
‫‪Online‬‬ ‫متصآل باألنترنت‬
‫‪excutable‬‬ ‫قابل للتشغيل ‪ /‬التنفيذ‬
‫‪Installer‬‬ ‫برنامج التثبيت ‪ /‬المثبت‬
‫‪Open‬‬ ‫يفتح ‪ /‬أفتح‬
‫‪Next‬‬ ‫التالي‬
‫‪Finish‬‬ ‫ينتهي‬
‫‪Terminal‬‬ ‫واجهة كتابة األوامر‬
‫‪Packages‬‬ ‫الحزمة البرمجية‬
‫‪Package manger‬‬ ‫مدير الحزمة البرمجية‬
‫‪plus‬‬ ‫إضافة ‪ /‬يضيف‬
‫‪Pacman‬‬ ‫مدير حزم برمجية‬
‫‪Package manger‬‬ ‫مدير الحزمة البرمجية‬
‫‪Flags‬‬ ‫أعالم ‪ /‬إشارات‬
‫‪ٍSynchronizing‬‬ ‫مزامنة‬
‫‪Update‬‬ ‫تحديث‬
‫‪Core System Upgrade‬‬ ‫تحديث نواة النظام‬
‫‪Update‬‬ ‫تحديث‬
‫‪Compiler Collection‬‬ ‫مجموعة المترجم‬
‫‪Wheel‬‬ ‫بكرة ‪ /‬عجلة‬
‫‪Wheel‬‬ ‫بكرة ‪ /‬عجلة‬
‫‪Be Ready‬‬ ‫كن جاهزآ‬
‫‪Check‬‬ ‫فحص ‪ /‬يفحص‬
‫‪Version‬‬ ‫إصدار برنامج‬
‫‪Command‬‬ ‫أمر‬
‫‪CMD Program‬‬ ‫مترجم األوامر البرمجية الخاص بالويندوز‬
‫‪Command prompt‬‬ ‫موجه األوامر‬
‫‪User‬‬ ‫مستخدم‬
‫‪Advanced User‬‬ ‫مستخدم متقدم‬
‫‪Edit‬‬ ‫يعدل‬
‫‪System‬‬ ‫نظام‬
‫‪Environment‬‬ ‫بيئة‬
‫‪Variable‬‬ ‫متغير‬
‫‪Path‬‬ ‫مسار‬
‫‪build‬‬ ‫يبني‬
‫‪Console Screen‬‬ ‫شاشة التحكم‬
‫‪Console Screen‬‬ ‫شاشة التحكم‬
‫‪Console Screen‬‬ ‫شاشة التحكم‬
‫‪Error‬‬ ‫خطأ‬

‫‪Lesson Four‬‬
‫‪Word‬‬ ‫‪Meaning‬‬

‫‪Code Blocks‬‬ ‫برنامج لتحرير األكواد‬


‫‪Online Compilers‬‬ ‫برامج لكتابة األكواد أونالين‬
‫‪Setup‬‬ ‫إنشاء ‪ /‬تركيب البرنامج‬
‫‪Tools‬‬ ‫أدوات‬
‫‪Debugger‬‬ ‫مصحح أخطاء األكواد البرمجية‬
‫‪Option‬‬ ‫خيار‬
‫‪Run C++ File‬‬ ‫تشغيل ملف السي بلص بلص‬
‫‪Extensions‬‬ ‫اإلضافات‬
‫‪Code Runner‬‬ ‫إضافة مهمتها تشغيل الكود البرمجي‬
‫‪Terminal‬‬ ‫أداة مهمتها فهم وتنفيذ سطر األوامر‬
‫‪Debug Console‬‬ ‫أداة مهمتها فهم وإظهار مشاكل كتابة األوامر بشكل خاطئ‬
‫‪Up To You‬‬ ‫راجع ليك‬
‫‪Outputs‬‬ ‫المخرجات‬
‫‪Executable‬‬ ‫قابل للتنفيذ‬
‫‪Desktop Development‬‬ ‫تطوير سطح المكتب‬
‫‪Total Space‬‬ ‫المساحة اإلجمالية‬
‫‪Individual‬‬ ‫فردي‬
‫‪Components‬‬ ‫المكونات‬
‫‪Installation‬‬ ‫التركيب ‪ /‬اإلنشاء‬
‫‪Next‬‬ ‫القادم ‪ /‬التالي‬
‫‪Commands‬‬ ‫األوامر‬
‫‪Update‬‬ ‫تحديث‬
‫‪Synchronize‬‬ ‫يتزامن‬
‫‪Package‬‬ ‫حزمة‬
‫‪Automatic‬‬ ‫آلي ‪ /‬أوتوماتيكي ‪ /‬بدون تدخل اإلنسان‬
‫‪Manual‬‬ ‫يدوي ‪ /‬بتدخل اإلنسان‬
‫برنامج ضخم يقوم بمساعدة المبرمجين في تطوير برمجياتهم ‪IDE = Integrated Development Environment‬‬
‫‪HTML = Hyper Text Markup Language‬‬ ‫لغة هيكلة صفحات الويب‬
‫‪Interview‬‬ ‫مقابلة عمل‬
‫‪Link‬‬ ‫رابط‬
‫‪Tab‬‬ ‫تبويب‬
‫‪Project‬‬ ‫مشروع‬
‫‪Empty Project‬‬ ‫مشروع فارغ‬
‫‪Fundamental‬‬ ‫مبادئ ‪ /‬أساسات‬
‫‪Test‬‬ ‫اختبار‬
‫‪Folder‬‬ ‫مجلد يحمل ملفات بداخله‬
‫‪Create‬‬ ‫إنشاء ‪ /‬بناء‬
‫‪Extensions‬‬ ‫أدوات إضافية‬
‫‪New Item‬‬ ‫عنصر جديد‬
‫‪Class‬‬ ‫هو المخطط الذي يتم صناعة الكائنات منه والتي بدورها تقوم بدمج الدوال والبيانات لكوحدة واحدة‬
‫‪Header‬‬ ‫هو ملف يحتوي على الدوال والمتغيرات المستخدمة في البرنامج‬
‫‪Environment‬‬ ‫بيئة‬
‫‪General‬‬ ‫عام‬
‫‪Themes‬‬ ‫أشكال مختلفة لتغيير واجهة البرامج الرسومية‬
‫‪Fonts And Colors‬‬ ‫خطوط وألوان‬
‫‪Build‬‬ ‫بناء‬
‫‪Create‬‬ ‫إنشاء‬

‫‪Lesson Five‬‬

‫‪Word‬‬ ‫‪Meaning‬‬

‫)‪preprocessing(#‬‬ ‫المعالجة المسبقة‬


‫)‪preprocessing directive (#include‬‬ ‫توجيه المعالجة المسبقة‬
library(iostream) ‫مكتبه‬
int ‫تقوم باعادة االرقام بعد المعاجة‬
the code

#include <iostream>

int main()
{
std::cout << "Line 1\n";
std::cout << "Line 2\n";
std::cout << "Line 3\n";
return 0;
}

Lesson six

the code

#include <iostream>

int main()
{
std::cout << "Line 1\n";
std::cout << "Line 2\n";
std::cout << "Line 3\n";
return 0;
}

Lesson seven

Word Meaning

sintaks ‫القواعد النحوية للبرمجة‬


querly places({}) ‫الحاوية اللي بتشيل االسطر اللي بينها‬
block of code ‫مجموعة االسطر اللي في الحاوية‬
colon(:) ‫النقطتان‬
semicolon(;) ‫الفاصلة المنقوطة‬
character output(cout) ‫المخرجات‬
stream insertion operator(<<) ‫مشغل االدخال‬
new line(\n) ‫سطر جديد‬
character(; : s \n) ‫الححاجات المكونة لالسطر البرمجية‬

the code

#include <iostream>

int main()
{
std::cout << "Line 1\n";
std::cout << "Line 2\n";
std::cout << "Line 3\n";
std::cout << "std::cout";
return 0;
}

Lesson eight

the code

// Include Iostream
#include <iostream>

/* Elzero */

// This Is Main Function


int main()
{
std::cout << "Line 1\n"; // Comment
std::cout /* <= This Is Character Out */ << "Line 2\n";
std::cout << "Line 3\n";
// Comment
std::cout << "std::cout";
return 0;
} // Comment

// Search Google For "Iostream"

// ========== Elzero ========== //

//////////// Elzero ////////////

/*
==================
Elzero
==================
*/

/*==================
Elzero
==================*/

Lesson nine

Word Meaning

Decleare ‫يعلن‬
Data_Type ‫نوع البيانات‬
Static Type ‫نوع ثابت‬
Dynamic Type ‫نوع ديناميكي‬
Variable_Name ‫اسم المتغير‬
Value ‫القيمة‬

the code

/*
Variables Basic Knowledge
- Data Container With Unique Name "Identifier"
- Declare With Value + Change Later

Syntax
- [Data_Type] [Variable_Name] = [Value]
*/

#include <iostream>
using namespace std;

int main()
{
int price = 200;
cout << "Price Is: " << price;
cout << "\nPrice After Adding 15 Is: " << price + 15;
cout << "\nPrice After Adding 50 Is: " << price + 50;
price = 150;
cout << "\nThe New Price Is: " << price;
return 0;
}

// Line 1\nLine 2
// Line 1\nLine 2

Lesson ten

Word Meaning

Variables Naming Rules ‫قواعد تسمية المتغيرات‬


Best Practices ‫أفضل الممارسات‬
Naming Rules ‫قواعد التسمية‬
Must Be Unique ‫يجب أن تكون فريدة من نوعها‬
Case Sensitive ‫حساسية الموضوع‬
Cannot Start With Numbers ‫ال يمكن البدء باألرقام‬
Nums Or Letters Or Underscore ‫أرقام أو أحرف أو شرطة سفلية‬
No White Space ‫ال توجد مسافة بيضاء‬
No White Special Characters ‫ال توجد أحرف خاصة‬
Reserved Keywords ‫الكلمات الرئيسية المحجوزة‬
"Class, Public" "‫ العامة‬،‫"الطبقة‬
Best Practices ‫أفضل الممارسات‬
Related Names ‫األسماء ذات الصلة‬
Writing Style ‫أسلوب الكتابة‬

the code

/*
Variables Naming Rules & Best Practices

--- Naming Rules


--- Must Be Unique
--- Case Sensitive
--- Cannot Start With Numbers
--- Nums Or Letters Or Underscore
--- No White Space Or Special Characters
--- Reserved Keywords "Class, Public"

- Best Practices
--- Related Names
--- Writing Style
*/

#include <iostream>
using namespace std;

int main()
{
int price = 100; // Declare A New Variable
price = 200; // Update The Value
int Price = 400;
cout << price;
cout << "\n===============\n";
int n1um1111 = 10;
cout << n1um1111;
cout << "\n===============\n";
int _num_bers_ = 100;
cout << _num_bers_;
cout << "\n===============\n";
int publics = 1000;
cout << publics;
cout << "\n===============\n";
int OSAMA = 500; // Bad Style
cout << OSAMA;
cout << "\n===============\n";
int x = 1000;
cout << x;
return 0;
}

Lesson eleven

the code

/*
Variables Advanced Knowledge
- Declare Variable Without Value + Change Later
- Declare Multiple Variables Without Value + Change Later
- Declare Multiple Variables With Same Value
*/
#include <iostream>
using namespace std;

int main()
{
int a;
a = 100;
cout << a; // 100

cout << "\n================\n";

int b, c, d;
b = 10, c = 20, d = 30;
cout << b + c + d; // 60 => [10 + 20 + 30]

cout << "\n================\n";

int e, f = 40, g;
e = 20, g = 60;
cout << e + f + g; // 120

cout << "\n================\n";

int h, i, j;
// h = 10, i = 10, j = 10;
h = i = j = 10;
cout << h + i + j; // 30

return 0;
}

Lesson twelve

Word Meaning

Variables Scope ‫نطاق المتغيرات‬


Global Variable ‫المتغير العالمي‬
Local Variable ‫متغير محلي‬

the code

/*
Variables Scope
- Global Variable
- Local Variable
*/

#include <iostream>
using namespace std;

int a = 100; // Global Variable

int second()
{
int b = 200; // Local Variable
cout << a << " Coming From Second Function\n";
cout << b << " Coming From Second Function\n";
return 0;
}

int main()
{
cout << a << " Coming From Main Function\n";
// cout << b << " Coming From Main Function\n"; // Undefined
second();
return 0;
}

Lesson thirteen

Word Meaning

Constant Variable ‫متغير ثابت‬


Read Only Value ‫متغير ثابت‬
Can't Declare Without Value ‫ال يمكن التصريح بدون قيمة‬

the code

/*
Constant Variable
- Read Only Value
- Can't Declare Without Value
*/

#include <iostream>
using namespace std;
#define DAYS 9

int main()
{
const int day = 8;
// int salary = 15000;
const int num = 100;
// num = 200;
cout << num;
// const int x;
cout << "\n" << DAYS;
return 0;
}

Lesson Fourteen

the code
/*
Calculate Your Age Application
*/

#include <iostream>
using namespace std;

int main()
{
cout << "=========================\n";
cout << "==Calculate Yor Age App==\n";
cout << "=========================\n";
int age;
cin >> age;

int age_in_days = age * 365;


int age_in_hours = age_in_days * 24;
int age_in_minutes = age_in_hours * 60;
int age_in_seconds = age_in_minutes * 60;

cout << "Age In days Is: " << age_in_days << " Days\n";
cout << "Age In hours Is: " << age_in_hours << " hours\n";
cout << "Age In minutes Is: " << age_in_minutes << " minutes\n";
cout << "Age In seconds Is: " << age_in_seconds << " secondes\n";
return 0;
}

Lesson fifteen

Word Meaning

Escape Sequences Characters ‫شخصيات تسلسل الهروب‬


Special Non Printing Characters ‫أحرف خاصة غير مطبوعة‬
Control Printing Behaviour ‫التحكم في سلوك الطباعة‬
Start With Back Slash "\" ‫"\" البدء بالشرطة المائلة الخلفية‬
Can Be Inserted In Any Position ‫يمكن إدراجها في أي موقف‬

the code

/*
Escape Sequences Characters
--- Special Non Printing Characters
--- Control Printing Behaviour
--- Start With Back Slash "\"
--- Can Be Inserted In Any Position
- \n
- \\
- \"
- \'
- \t => Tab Equal 8 Spaces
- \b
- \a => Alert => Play Beep During Execution
- \r => Carriage Return
*/

#include <iostream>
using namespace std;

int main()
{
cout << "Line 1\n";
cout << "Line 2\n";
cout << "Line 3\\\n";
cout << "Line \"4\"\n";
cout << "Line 5\n";
cout << "Line\t6\n";
cout << "Line\b7\n"; // Lin7
cout << "Line 8\a\n";
cout << "Osama\rLzero\n"; // Lzero
cout << "Line"; // This Is Line \\
return 0;
}

Lesson Sixteen

Word Meaning

Integer ‫عدد صحيح‬


String
Boolean
Float ‫عدد غير صحيح‬
Array
Size
Operation

the code

/*
Data Types
- What Is Data ?
- Data Examples In Real Life
--- Integer => 5000, 10, -100
--- String => "Elzero Web School", "Osama Elzero", "100A"
--- Boolean => true, false
--- Float => 18.5, 1900.50
--- Array => ["Osama", "Ahmed", "Sayed", "Mahmoud"]
- Why We Choose Data ?
--- Size
--- Operation

What Is Operand ?
- The Part Of an Instruction Representing The Data Manipulated by The Operator
*/

#include <iostream>
using namespace std;
int main()
{
int num = 10;
string name = "Osama";
bool status = true;

int num_one = 100;


int num_two = 20;

cout << sizeof(num) << "\n";


cout << sizeof(name) << "\n";
cout << sizeof(status) << "\n";

cout << num_one / num_two; // 100 / 20 = 5


// cout << num_one / name; // Error

return 0;
}

You might also like