Webmaster Forumu - Webmaster Zone

Geri git   Webmaster Forumu - Webmaster Zone > Webmaster Zone > Programlama Dilleri
Şifrenizimi Unuttunuz? Bize Katılın!

Cevapla
Görüntüleme: 535 - Cevaplar: 0  
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 14-05-2007, 02:22:09
SanalSistem SanalSistem isimli üyemiz çevrimdışıdır. (Offline)
Webmaster
No Status
 
Üyelik tarihi: 30/4/2007
Mesajlar: 28
iTrader: (0)
Tecrübe Puanı: 37
Puanları: 20
SanalSistem üyemiz henüz acemi
Wink C++ uzmanları lütfen yardım???

2 Ayrı dosya olarak hazırlayabilecek arkadaş var mı acaba?
C++ dan anlamıyorum da

-- BÖLÜM 1 --
Kod:
1 .Define a class named Artist  with data  memebers: name, countryand birthday.
    (birthday can be from type string  or object f class Date)
Define  also  the following  member functions:

a:	a default  constructor
b:	a constructor which  take 3 arguments.
c:	a copy  constructor.
d:	a destructor
e:	to get  each  of the data  members(accessors)
f:	to modıfy  each of the data  members (mutators)
g:	member  function  age;(),whith  calculate and return age of the artist, using  
            his   birthday .
h:	operator < (by age)
i:	operator=
j:	to pretty-prınt the object

2. Define a subclass Film (inherit Artist ) with data members: name of the film , genre and cost 

Define  also  the following member functions:

a)	a default constructor
b)	a constructor with  parameters
c)	member function bill(), which  calculate  and return  bill of the tourist (days af rest* cost  per day)
d)	a print  fuction 
e)	operator> (by cost)


Define a main()  function, create  2 object of class Artist, find which  is older. Create  an array of objects of class  Film, print them and find which film is most expensive, find and print all artists from fixed  country (UK or others), find who plays in more films and demonstrate  using of defferent member functions of the class Artist and class Film.

-- BÖLÜM 2 --

Kod:
1.	Define  a class  named Author with  data members: name, country  and birthday.
(birthday can be from type or object of class Date)
Define also the following  member  functions:
a.	a default  constructor
b.	a constructor which take 3 arguments
c.	a copy constructor 
d.	a destructor 
e.	to get  each of the data members (accessors)
f.	to modify each of the data members (mutators)
g.	member function year(), which calculate and return age  of author,using his birthday
h.	operator<(by age)
i.	to pretty-print the object
2.	Define  a subclass Book (inherit Author) with data members: title, 
year of publishing, price.
  Define  also the following  member functions:
a)	a default  constructor
b)	a constructor  with parameters
c)	a print  function
d)	operator> (bby price)
Define a main() function. Create 2 objects of class Author, find  which  is more young. Create  3 objects of class Book, print them and find  which  is the most expensive and demonstrate  using of different member  function of the class  Author  and class Book.
__________________
SanalSistem Bilisim ve Teknoloji Hizmetleri
www.sanalsistem.net
www.sanalSMS.net

Konu SanalSistem tarafından (14-05-2007 Saat 02:24:28 ) değiştirilmiştir..
Alıntı ile Cevapla
Cevapla



Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Hem IIS hem xampp vs. ? lütfen yardım kawi Webmaster Genel 4 25-08-2007 15:27:06
Lütfen yardım edebilirmisiniz mcloft Proje Geliştirme ve Ortaklık 9 26-07-2007 11:40:03
Zoint Hata Yardım Lütfen Plahanx Webmaster Genel 3 04-05-2007 19:03:40
Mail Enable lütfen yardım turk-net Dedicated - VPS Satım Kiralama 0 01-03-2007 14:37:08


oyun , kontör , türkçe dizin

Bütün Zaman Ayarları WEZ olarak düzenlenmiştir. Şu Anki Saat: 23:59:08 .


Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Zone Org | 2006-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122