🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cis.is89
Article #426

[���i] �p���@�~

#426
From: ���ۤv�n������*
Date: Fri, 25 May 2001 00:49
18 lines
1739 bytes
1. write a simple template for prodicate function is Equal
that compares its two argument,with the Equally operator(= =)
and return if they are equal and return 0 if they are not equal.

2.use their function template in  a program that calls isEqualTo
only with a variety of built-in types.

3.
wriite a seperate version of the program that calls isEqualTo with
a well define class type.
(�p�Gclass �w�q���S��overload the equality operator �|�����򵲪G???)

==> overload the equality operator(operator,function operator = =)���ͦ󵲪G??


--
��Post by seal          from cpchang.Dorm9.NCTU.edu.t
�ѹ��������ŹT�}���q�l�G�i��t����alexbbs.twbbs.org��140.113.166.240
Technical Details
Message-ID: <3gUTbg$48A@mouse.cis.nctu.edu.tw>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!howland.erols.net!spring.edu.tw!ctu-peer!news.nctu.edu.tw!News.Math.NCTU.edu.tw!news.cis.nctu.edu.tw!alex

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 104865,4160887d67b82d57,start
X-Google-Attributes: gid104865,public
X-Google-ArrivalTime: 2001-05-24 18:00:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!howland.erols.net!spring.edu.tw!ctu-peer!news.nctu.edu.tw!News.Math.NCTU.edu.tw!news.cis.nctu.edu.tw!alex
From: seal.bbs@mouse.cis.nctu.edu.tw (���ۤv�n������*)
Newsgroups: cis.is89
Subject: [���i] �p���@�~
Date: 25 May 2001 00:49:29 GMT
Organization: temp
Lines: 18
Message-ID: <3gUTbg$48A@mouse.cis.nctu.edu.tw>
NNTP-Posting-Host: mouse.cis.nctu.edu.tw
X-Trace: news.cis.nctu.edu.tw 990752245 47060 140.113.166.240 (25 May 2001 00:57:25 GMT)
X-Complaints-To: usenet@news.cis.nctu.edu.tw
NNTP-Posting-Date: Fri, 25 May 2001 00:57:25 +0000 (UTC)
X-Filename: is89/M.990751770.A