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

الى المحترفين في البرمجة...رجااااااءً لاتبخلون علينا

بدأه 345345 في 9 أبريل 2009 · 2 رد · 537 مشاهدة · في الأسئلة المجابة
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

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

ارجوا منكم مساعدتنا فقط بشرح فكرة هذاالسؤال وتوضيح المطلوب عمله والا احنا

ان شاء الله اننا قد الحل وبنحله ....لكن مو عارفين المطلوب بالضبط ....هو بصراحة

project نازل لنا ومطلوب منا حله على فقرات ....اول شي حليناها والحمدلله

ويوم جينا نحل الثاني حسينا اننا محتاجين توضيح ....

نتمنى ماتبخلوووووووووون علينا بأي شي تقدرون عليه .....وجزاكم الله كل كل كل خير ....

..................

The system should keep information about Passengers and Reservations they have made through the system. For a passenger, his name, phone, and passport number must be stored. The system must allow the update of this information. For each reservation, its ID (reservation number) which is automatically generated by the system, the passenger information, and the seat type (smoker or not) should be stored.

The id a Reservation is a single string composed of two parts: two characters which are the first two letters of the passengers name, followed by a serial number generated by the system.

.....

Task B

Create a header file for the class student which contains the following header, then write its implementation file.

#ifndef RESERVATION_H_

#define RESERVATION_H_

#include<iostream>

#include<string>

#include"Passenger.h"

usingnamespace std;

classReservation{

private:

static intsn;

conststringID; //first two letters of passanger name plus sn

boolsmokerSeat;

Passengerpassenger;

public:

//Constructor taking the parameters of Passenger

Reservation(string psngrName, long psngrPhone, string psngrPassport, bool smoke);

//Constructor taking a Passenger object

Reservation(Passenger& psngr, bool smoke);

Passenger getPassenger(); bool isSmoker();

string getReservationNumber() void printDetails();

};

#endif/*RESERVATION_H_*/

فقط نريد توضيح هذه الجزئية وكماذكرت ان الجزئية التي تسبقها سبق وعملناها

وللمعلومية هم قالوا لنا اننا نبحث عن هالمشروع وحله

......

وشكرا مقدما لكم جميعا

msn_laugh.pngmsn_laugh.pngmsn_laugh.pngmsn_laugh.pngmsn_laugh.png

#2

معقولة !!!!!!!!!!!!!!!

مافيه احد يقدر يفيدنا بأي توضيح

:S :S :S :S :S :S :S :S

#3

هناك موضوع آخر في المنتدى لشخص آخر في هذه الفترة الأخيرة :D يتكلم عن نفس المشروع المطلوب منكم.

ابحث عنه وانظر المساعدات

Do as I say, not as I do

We are Anonymous. We are Legion. We don't forgive. We don't forget

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

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…