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

سؤال بسيط لخبراء ++C

مغلق
بدأه رائد الظفيري في 12 يوليو 2004 · 0 رد · 407 مشاهدة · في ارشيف قسم C/C++
مشاركة: واتساب X فيسبوك تيليجرام
#1

In c++ develop class polynominal.The internal representation of a Polynomial is an array of term .Each term contains acoefficient and an exponent.The term

2x in above the x is 4 .

has acoefficient of 2 and an exponent of 4.Develop a full class containing proper constrector and destructor function as well as set and get function.The class should also provide the following overloaded operator capabilities:

a)Overload the addition operator(+)to add two polynomials.

b)Overload the sbtraction operatoe (-) to subtract two polynomials.

c)Overload the assigenment operator to assign one Polyonmails to another.

d)Oveerload the multiplication operator (*) to multiply two Polynomials.

and thankyou

هذا الموضوع مغلق.

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