الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

شرح السوال فضلا ليس امرا

بدأه سرمد الليل في 30 أكتوبر 2010 · 2 رد · 516 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

A phone service provider company wants to calculate the total bills for each customer; that is, one customer can have more than one phone numbers and therefore bills (you do not know how many phone numbers he/she may has. For each customer, unique ID is generated automatically, and once established it can’t be modified

2. Use non class member function which takes object/s as argument to compare the number of contacts between two customers and return ID of customer with more numbers [note that this function can access private data members of the class directly]

#2

يجب عليك استعمال freindship هنا بين الدالة المطلوبة و الكلاس الذي ستعمل عليه.

راجع هذا الدرس للأخ غسان :الدوال الصديقة

#3

ولكنى لم افهم السوال

مواضيع مشابهة