السلام عليكم يا جماعة
انا عم اعمل مشروع c
تقريبا خلصت كل الانترفيس
و الـ menus كشكل
و خصلت شوي من الـ functions المطلوبة
بس في اشياء مش فاهمة كيف اعملها او كيف اركبها سوا
او اي تقنية بالظبط استخدم
اقتباس The Route’s Information should be stored for each new one are: Route_No, Route_Name, and Route_Price.
You should use a structure named ROUTE to hold this Information.
All routes of your system should be saved in a binary file named ROUTES.bin.
Menu Option II:
There are 3 operations included in Menu option II as follow:
Add new flight to a specific Route (this should be done by entering the Route No. first).
Delete an existing flight from a specific Route (should be done by Flight No.).
Show all flights in a specific Route (by Route No.).
The Flight’s Information should be stored for each new one are:
Route_No, Flight_No, Flight_Date, Flight_Time and Seats_Available.
Any Route could have more than one Flight.
No Flight belongs to more than one Route.
You should use a structure named FLIGHT to hold this Information.
مشكلتي في السطر اللي لونه احمر
مش عارفين شو الآلية اللي تخليني اعمل هالفنكشن
يعني مثلا راح يكونوا الـ 2 structures واحدة جوا التانية
اي ان struct FLIGHT
راح تكون داخل الـ struct ROUTE
انا ما بدي كود او حل جاهز
بس مساعدة افهم شلون اعمل هيك شي
و تكونو مشكورين
لان موقفة عند هاي النقطة ومحتاجة اكمل :rolleyes: