C++ للمبتدئين
لتعلم اساسيات لغة سي بلص بلص للمبتدئين
Больше237
Подписчики
Нет данных24 часа
Нет данных7 дней
Нет данных30 дней
- Подписчики
- Просмотры постов
- ER - коэффициент вовлеченности
Загрузка данных...
Прирост подписчиков
Загрузка данных...
بعض الأختصارات
1- PAN
Permanent Account Number.
2- PDF
Portable Document format.
3- SIM
Subscriber Identity Module.
4- ATM
Automated Teller Machine.
5- Wi-Fi
Wireless Fidelity.
6- GOOGLE
Global Organization Of
Oriented Group
Language Of Earth.
7- YAHOO
Yet Another Hierarchical
Officious Oracle.
8- WINDOWS
Wide Interactive Network
Development for
Office Work Solution.
9- COMPUTER
Common
Oriented Machine.
Particularly United
and used under Technical
and Educational Research.
10- VIRUS
Vital Information
Resources Under Siege.
11- UMTS
Universal
Mobile Telecommunicati ons
System.
12- AMOLED
Active-Matrix Organic Light-
Emitting diode.
13- OLED
Organic
Light-Emitting diode.
14- IMEI
International Mobile
Equipment Identity.
15- ESN
Electronic
Serial Number.
16- UPS
Uninterruptible
Power Supply.
17- HDMI
High-Definition
Multimedia Interface.
18- VPN
Virtual Private Network.
19- APN
Access Point Name.
20- LED
Light Emitting Diode.
21- DLNA
Digital
Living Network Alliance.
22- RAM
Random Access Memory.
23- ROM
Read only memory.
24- VGA
Video Graphics Array.
25- QVGA
Quarter Video
Graphics Array.
26- WVGA
Wide video Graphics Array.
27- WXGA
Widescreen Extended
Graphics Array.
28- USB
Universal Serial Bus.
29- WLAN
Wireless
Local Area Network.
30- PPI
Pixels Per Inch.
31- LCD
Liquid Crystal Display.
32- HSDPA
High Speed Down link
Packet Access.
33- HSUPA
High Speed Uplink
Packet Access.
34- HSPA
High Speed
Packet Access.
35- GPRS
General Packet
Radio Service.
36- EDGE
Enhanced Data Rates
for Globa Evolution.
37- NFC
Near
Field Communication.
38- OTG
On-The-Go.
39- S-LCD
Super Liquid
Crystal Display.
40- O.S
Operating System.
41- SNS
Social Network Service.
42- H.S
HOTSPOT.
43- P.O.I
Point Of Interest.
44- GPS
Global
Positioning System.
45- DVD
Digital Video Disk.
46- DTP
Desk Top Publishing.
47- DNSE
Digital
Natural Sound Engine.
48- OVI
Ohio Video Intranet.
49- CDMA
Code Division
Multiple Access.
50- WCDMA
Wide-band Code
Division Multiple Access.
51- GSM
Global System
for Mobile Communications.
52- DIVX
Digital Internet
Video Access.
53- APK
Authenticated
Public Key.
54- J2ME
Java 2
Micro Edition.
55- SIS
Installation Source.
56- DELL
Digital Electronic
Link Library.
57- ACER
Acquisition
Collaboration
Experimentation Reflection.
58- RSS
Really
Simple Syndication.
59- TFT
Thin Film Transistor.
60- AMR
Adaptive
Multi-Rate.
61- MPEG
Moving Pictures
Experts Group.
62- IVRS
Interactive
Voice Response System.
63- HP
Hewlett Packard.
#طور_نفسك
@it_tec1
Overloading operators (C++)
You can redefine or overload the function of most built-in operators in C++. These operators can be overloaded globally or on a class-by-class basis. Overloaded operators are implemented as functions and can be member functions or global functions.
An overloaded operator is called an operator function. You declare an operator function with the keyword operator preceding the operator. Overloaded operators are distinct from overloaded functions, but like overloaded functions, they are distinguished by the number and types of operands used with the operator.
Consider the standard + (plus) operator. When this operator is used with operands of different standard types, the operators have slightly different meanings. For example, the addition of two integers is not implemented in the same way as the addition of two floating-point numbers. C++ allows you to define your own meanings for the standard C++ operators when they are applied to class types. In the following example, a class called complx is defined to model complex numbers, and the + (plus) operator is redefined in this class to add two complex numbers.
EX:
// This example illustrates overloading the plus (+) operator.
#include <iostream>
using namespace std;
class complx
{
double real,
imag;
public:
complx( double real = 0., double imag = 0.); // constructor
complx operator+(const complx&) const; // operator+()
};
// define constructor
complx::complx( double r, double i )
{
real = r; imag = i;
}
// define overloaded + (plus) operator
complx complx::operator+ (const complx& c) const
{
complx result;
result.real = (this->real + c.real);
result.imag = (this->imag + c.imag);
return result;
}
int main()
{
complx x(4,4);
complx y(6,6);
complx z = x + y; // calls complx::operator+()
}
You can overload any of the following operators:
+ - * ⁄ % ‸ & | ~
! = < > += -= *= ⁄= %=
‸= &= |= << >> <<= >>= == !=
<= >= && || ++ -- , ->* ->
( ) [ ]
new delete new[ ] delete[ ]
where () is the function call operator and [] is the subscript operator.
You can overload both the unary and binary forms of the following operators:
+ - * &
You cannot overload the following operators:
. .* :: ?:
C++ Operators
Here's a list of some from common operators available in C++ for professional
1-( ?: )
returns value based on the condition string
Ex:
result = (5 > 0) ? "even" : "odd"; // "even"
2-( & )
represents memory address of the
Ex:
operand # // address of num
4-( . )
accesses members of struct variables or class objects.
Ex:
s1.marks = 92;
5-( sizeof(value) )
returns the size of data type
Ex:
sizeof(int); // 4
6-( -> )
used with pointers to access the class or struct variables
Ex:
ptr->marks = 92;
#include <iostream>
using namespace std;
struct S {
int x=6;
S& operator=(const S& other) {
x =x+other.x;
// return a reference to the object being assigned to
return *this;
}
};
int main()
{
int o;
S c,y;
y.x=7;
c=y;
cout<<y.x<<endl;
cout<<c.x;
return 0;
}
نشاط لتنشيط الذاكره معا بعض الموضيع المتقدمة باللغه
ما مخرجات هاذا البرنامج
لنبدا با مناقشه بعض المفاهيم الاحترافية داخل اللغه وسيتضمن في الايام القادمه انشاء الله البرمجه كما لم تعهدوا ها من قبل للغة c++ ستكون في المواضيع الواقعية التي يستخدمها المبرمجين بسوق العمل.
#كلام_راق_لي
سأل أحد العلماء تلميذه :
منذُ متى صحبتني ؟
فقال التلميذ : منذُ ثلاثٍ وثلاثين سنة.
فقال العالم :
فما تعلمت منّي في هذه المدّة ؟
قال التلميذ : ثمانيَ مسائل.
قال العالم : إنّا لله وإنّا إليه راجعون ... !!
ذهب عمري معك ولم تتعلّم إلا ثماني مسائل فقط !
قال التلميذ : لم أتعلم غيرها ولا أحبّ أن اكذب عليك .
#فقال_العالم : هات ما عندك لأسمع .
#قال_التلميذ:
#الأولى : أني نظرت إلى الخلق فرأيت كلّ واحد يتخذ صاحباً ، فإذا ذهب إلى قبره فارقه صاحبُه ، فصاحبتُ الحسنات فإذا دخلتُ القبر دخلتْ معي .
#الثانية : أني نظرت في قول الله تعالى : " وأما من خاف مقام ربه ونهى النفس عن الهوى فان الجنّة هي المأوى " فأجهدت نفسي في دفع الهوى حتى استقرت على طاعة الله .
#الثالثة : أني نظرت إلى الخلْق فرأيت أنّ كلّ من معه شيءٌ له قيمة حفظه حتى لا يضيع ثم نظرت إلى قول الله تعالى :"ما عندكم ينفذ وما عند الله باق " فكلما وقع في يدي شيءٌ له قيمة وجهته لله ليحفظه عنده.
#الرابعة: أني نظرت إلى الخلق فرأيت كلاً يتباهى بماله أو حسبه أو نسبه ثم نظرتُ إلى قول الله تعالى : " إنّ أكرمكم عند الله اتقاكم " فعملتُ في التقوى حتى أكونَ عند الله كريماً.
#الخامسة : أني نظرت إلى الخلق وهم يتحاسدون على نعيم الدنيا فنظرتُ إلى قول الله تعالى : "
نحن قسْمنا بينهم معيشتهم في الحياة الدنيا " فعلمتُ أن القسمة من عند الله فتركتُ الحسد عنّي ؛ ورضيت بما قسمه الله لي. .
#السادسة : أني نظرتُ إلى الخلق يعادي بعضهم بعضاً ويبغي بعضهم بعضا ويقاتل بعضهم بعضاً ونظرتُ إلى قول الله تعالى : " إنّ الشيطان لكم عدوّ فاتخذوه عدوّا " فتركتُ عداوة الخلق وتفرغتُ لعداوة الشيطان وحده .
#السابعة: أني نظرتُ إلى الخلق فرأيتُ كل واحد منهم يُكابد نفسه ويُذلّها في طلب الرزق حتى أنّه قد يدخل فيما لا يحلّ له فنظرتُ إلى قول الله تعالى : " وما من دابّة في الأرض إلا على الله رزقها " فعلمتُ أنّي واحدٌ من هذه الدوابّ ، فاشتغلتُ بما لله عليّ وتركتُ ما ليَ عنده .
#الثامنة : أنّي نظرتُ إلى الخلق فرأيتُ كلّ مخلوق منهم متوكّلاً على مخلوق مثله ؛ هذا على ماله وهذا على ضيعته وهذا على مركزه ونظرتُ إلى قول الله تعالى : " ومن يتوكّل على الله فهو حسبه " فتركتُ التوكّل على المخلوق واجتهدتُ في التوكّل على الله الخالق.
قال له الشيخ من اﻵن أنا تلميذك
#ما أحقر الدنيا في تلك اللحظات!!
"لا إلــــــه إلا الله"
فما طابت الدنيا إلا بذكره. .
ولا طابت الآخرة إلا بعفوه. .
#أسأل الله أن يجمعني بكم في الجنة!
ويجعلنا ممن قال فيهم:
(وجوه يومئذ مسفرة ضاحكة مستبشرة)
#خير الصاحب من أحبك في الله، وذَكَّرَك بالله، وخوفك من غضب الله، ورغبك في لقاء الله.
لله ما أخذ ولله ما أعطى
كل نفس ذائقة الموت
لقد استشهد رفيق الدرب
المهندس/ محمد عصام محمد الهمداني.
@Mohammed_alhamdani
بتاريخ 27/نوفمبر/2021.
والذي كان له الدور الاكبر في هذه المجموعه وغيرها ولم يكن يبخل بعلم نافع يعرفه على احد عاش كريماً ومات شهيدا
الله يرحمه رحمه الابرار ويدخله فسيح جناته
نطلب من الجميع الفاتحه و الدعاء له وهذا اقل القليل لهذا الشاب الخلوق.
عظم الله اجرنا وأجركم.
🔴 هل تشعر بأنك بحاجة ل كورسات قوية جداً عربية وانجليزية.. مدفوعة ولا تملك المال الكافي ؟
إليك قناة :
🔵Courses For You ✅
القناة الأولى عربياً ✨ :
قناة تقوم بتنزيل كوبونات مجانية ل كورسات مدفوعة مجاناً لك..
🔵 الميزات الحصرية :
🔹النشر يومي
🔹الكورسات في مختلف المجالات
🔹يوجد العديد من الكورسات المتاحة
🔹شهادة إكمال او إختبار لكل كورس
🔹يمكنك طلب أي كورس وسنقوم ب توفيره بإذن الله..
@CoursesforY0u ✅
Выберите другой тариф
Ваш текущий тарифный план позволяет посмотреть аналитику только 5 каналов. Чтобы получить больше, выберите другой план.