المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ارجو المساعده في حل هذا السؤال من خبراء c++



residentevil
13-03-2004, 01:58 PM
ارجو كل من يتقن لغه c++ وخاصه object oriented programming ان يساعدني بحل هذا السؤال او حتى بعضه:











Some of the characteistic of a book are the title,auther(s),publisher,ISBN,price and year_of_publiation.Design a class book that defines the book as an ADT(Abstract Data Type).


Set array of 100 objects.



A.Each object of the class book holds the following information about a book :


1. title.


2. auther.


3. publisher.


4. ISBN.


5. price.


6. number_of _copies in stock.



B.Define member function to perform the various operations on title object (set,show,checktitle,numberofcopies).Perform the following operations (set,show,update) on (publisher,ISBN,price,auther).



C.Define more operations like:


1. search for a book by it's title. (optional)



2. search for a book by it's ISBN.


ارجو المساعده في اقرب فرصه

residentevil
05-04-2004, 09:01 PM
السلام عليكم ,,,

اسف على الغيبه الطويله ولكني منت في الفتره الخيره منشغل في الامتحانات

انا وضعت السؤال من فتره وانا اتفهم ليش ما حد جواب السؤال (على اساس انه وظيفه)

زانا اشكر كل واحد ما عطاني الحل لاني بعدين استطعت احله ولحسن الحظ اتى سؤال شبيه له

في الامتحان ولو حد حط الحل ما كنت بجاوب في الامتحان مثل ما جاوبت الان .

على العموم لمن يريد الحل ,فهو موجود في المرفقات