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

[مخالف - طلب حل : ]بروجكت (++c)بالستاكس معجزني

مغلق
بدأه gin ayoma في 24 نوفمبر 2008 · 2 رد · 460 مشاهدة · في ارشيف قسم C/C++
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

بســم الله الـرحمــن الرحيــم

و

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

اخواني انا طالبة جامعيه

نزلت مادة هيكلية قواعد البيانات لهذا الفصل

و انا بعدني ما كملت الكالكولس 1

و بسراحة صرت مثل الأطرش بالزفة

مطلوب مني بروجكت على الVisual C++ 2005 Express Edetion

و انا ببدى في الهيدرز و بكتب الكلاسات بعدين بفلس

لأن مشرطين عليه كثير

و المشكلة انه الخميس موعد التسليم

وأنا مش عارفه شو أعمل

رح أكتبلكم السؤال و يا ريت حد يساعدني لأني يئست

Jordan University of Science and Technology

Department of Computer Science

CS 211 – Data Structures I

Project 2 ( Linked Stack )

1) Duplicate: ( method): which use pointers only without any function members or temporary Stack) that duplicates specific Stack item .

Example: duplicate 3

Before : S 1, 2, 3,4

After : S 1, 2, 3,3, 4

************************************************************************

2) DuplicateNodes: ( method: which use pointers only without any function members or temporary Stack) that takes int value as a parameter and duplicates nodes as the following pattern.

Example:

Before: S : 1, 2, 3, 4

After calling DuplicateNodes(7) :

S: 7, 1, 7, 2, 7, 3, 7, 4, 7

************************************************************************

3) InsertSorted (independent function) , that insert an item in it’s right location in a sorted stack , that is if 6 is to be inserted to the stack :

Top: 1,3,5,9,10,12 the stack will be 1,3,5,6,9,10,12

************************************************************************

4) Check-Palindrom(friend ) : Palindrom is the data spelled identically forwards and backwards such as RADAR. This function should check if the stack is palindrom return true else return false , the function should keep the same items and order of the stack .

Exmaple :

This Stack is a palindrom è 123 4 321

also this Stack is a palindrom è 1 2 3 3 2 1

this Stack is not palindrom è 1 2 3 5 6 1

************************************************************************

5) Clear_redundent(independent): clears all redundent values in the stack keeping only the first value found.(the stack would shrink after this operation).Example : if the contents of the stack like this

12 3 5 5 6 7 6 8 7 12 12 1 2 5

then the Clear_redundent should leave the stack with contents like this

12 3 5 6 7 8 1 2

************************************************************************

6) RemoveItem (independent): This function should remove all occurrences of item from the stack , and should keep the same order of the other items

example :

S (before removing) è 1 2 4 5 2 5 2 6 2

RemoveItem( 2 )

S (after removing ) è 1 4 5 5 6

************************************************************************

7) Intersection(independent): takes 2 stacks as parameters then find the same items that found at Stack1 and Stack2 .

************************************************************************

8) Union(independent): takes 2 Stacks as parameters then find the union elements at Stack1 and Stack2.

************************************************************************

9) Difference(independent) : function that take two stacks A and B , and return a stack of the Difference A- B , that is all items in A that don’t exist in B .

************************************************************************

10) InsertAt ( Independent function) : that inserts a specific value into a specific position in the Stack.

************************************************************************

#2

اظن ان الامر يتعلق بالتعلم هل تظنين ان اي احد سيحل لك التمرين

ضعي محاولاتك ليساعدك احدهم

العمل كثير و الوقت قليل أعاننا الله

seo zen SEO Enlightment amazon danbo

#3

الأخ الكريم/الأخت الكريمة

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

مرحباً بكم في منتدى الفريق العربي للبرمجة

تأسف إدارة المنتدى لغلق الموضوع وذلك لمخالفته قوانين المشاركات، فقرة طلب حل الواجبات والتمارين وأعمال السنة.

قواعد طرح المشاركات

/index.php?showtopic=29343

شاكرين لكم حُسن تعاونكم

tvquran_6.gif

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

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