Article View: be.comp.programming
Article #9697vraag geherfomuleerd
From: Agaricus
Date: Fri, 12 Apr 2002 21:56
Date: Fri, 12 Apr 2002 21:56
22 lines
1635 bytes
1635 bytes
Mijn vraag opnieuw :
in mijn datum class staat
friend ostream& operator<< (ostream&,Datum &) ;
in mijn string class staat
friend ostream& operator<< (ostream&,String &) ;
dit is mijn persoon class :
class Persoon
{
private:
String naam;
String voornaam;
Datum gbdatum;
public:
Persoon (String,String,int,int,int) ;
friend ostream& operator<< (ostream&,Persoon &) ;
};
Mijn vraag is nu hoe kan ik die friends uit mijn datum en string
aanspreken vanuit persoon zodat ik naam, voornaam en gbdatum alleen
kan afdrukken. Als dat mogelijk is.
Technical Details
Message-ID:
<2klebu0botb9q8fv8satarbl2djf40b3so@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!supernews.com!news-x2.support.nl!amsnews01.chello.com!news.chello.be.POSTED!not-for-mailReferences:
<li4dbu47b1n1kqp5rbulsbspte2kpl229m@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,7a64caa31a77d9e4 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2002-04-12 14:57:23 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!supernews.com!news-x2.support.nl!amsnews01.chello.com!news.chello.be.POSTED!not-for-mail From: Agaricus <Agaricuswebmail*NOSPAM*@yahoo.com> Newsgroups: be.comp.programming Subject: vraag geherfomuleerd Message-ID: <2klebu0botb9q8fv8satarbl2djf40b3so@4ax.com> References: <li4dbu47b1n1kqp5rbulsbspte2kpl229m@4ax.com> X-Newsreader: Forte Agent 1.9/32.560 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 22 Date: Fri, 12 Apr 2002 23:56:38 +0200 NNTP-Posting-Host: 213.132.138.60 X-Complaints-To: abuse@chello.be X-Trace: news.chello.be 1018648640 213.132.138.60 (Fri, 12 Apr 2002 23:57:20 MET DST) NNTP-Posting-Date: Fri, 12 Apr 2002 23:57:20 MET DST Organization: Chello Belgium Usenet Service