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

ارجو المساعده

مغلق
بدأه همس العبير في 26 فبراير 2005 · 1 رد · 353 مشاهدة · في ارشيف قسم C/C++
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم ورحمة الله وبركاته

اخواني واخواتي اعضاء هذا المنتدى

طلبتكم بطلب وقولوا تم

مطلوب مني عمل برنامج بلغه ++c

وارجو مساعدتي

وهذا هو المطلوووب

Data strutuer & Algorithms

Write a c++ code for aprogram that accomplishes the following :

 The program is asmall dictionary of wards

 To define the array that will acts adictionary , you will write :

Typedef char word[25];

# define maximum 100

These lines are written under the libraries including Then you will use the type you defined (word) to declare the dictionary list . The dictionary`s size is (maximum) . You will write it this way :

Word dictionary [maximum]; // this line is a private in the class

 The class constructor initializes only the current number of words in the dictionary with zero .

 When the program is first run , you will show the user the available words in the dictionary . There must be at least 10 words .

 Then , you will ask the user , through a menu , what would he / she like to do ?

o The user well see amenu like this :

What would you like to do ?

1. search for word

2. Insert anew word

3. Delete an existing word

4. Display the words in the dictionary

5. Exit the program

Please , enter your choice >>

 When the user enter an invalid choice , an exclamation message will appear . Then , the menu will be shown again . After each operation (choices from 1 to 4 ) , the menu will be shown again .

 Dealing with string library can be used . For example :

o strcmp (str1 ,str2)

This function compares tow strings and returns :

0  when str1 equls ste2

<0 when str1 less than str2

>0 when str1 grater than str2

o Strcpy(str1 ,str2 )

This function is used to copy one string into another

 For function information about the previous function , see Helpe

 Take under consideration the following :

o Your name must be written at the beginning of code .

o The code must be well organized (using tab).

o A void using meaning less names when you declare variables .

o A void declaring unneeded variables .

o Deliver your code printed and copied into diskette (I won't receive any assignment unless it is printed , along with the diskette )

o The assignment is due on : Thursday ,March 1, 2005,010 o 'clock .

o Deliver you assignment in a transparent file (you will receive this file when you get your first assignment feedback)…..

وهذا كامل المطلوب من البرنامج

فارجو مساعدتي

وحله قبل موعد التسليم

ولكم مني جزيل الشكر

تحياتي

همس العبير

#2

للاسف خاب الامل والرجاااء

للاسف خاب الامل والرجاااء

للاسف خاب الامل والرجاااء

للاسف خاب الامل والرجاااء

للاسف خاب الامل والرجاااء

حتى مرور ماحد طل عليه

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

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