|
From: Ioannis V. <no...@ya...> - 2001-10-22 20:41:44
|
:) That every object has its own data members whhich these functions manipulate. Except of that, for what static data members and static member functions exist for? =20 =20 =20 Ioannis =20 * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com <http://www.noicys.f2s.com/>=20 * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Daniel Glenfield Sent: Monday, October 22, 2001 10:30 PM To: dev...@li... Subject: RE: [Dev-C++] Strange effect I am 100% certain that each object does NOT have it's own copy of the member functions. What reason would there be? >From: "Ioannis Vranos"=20 >To: "Dev-C++"=20 >Subject: RE: [Dev-C++] Strange effect=20 >Date: Mon, 22 Oct 2001 22:44:21 +0200=20 >=20 >I do not think this is true. Every object has its own member functions. >Except of that, here wrong data members are being created too.=20 >=20 >=20 >Ioannis=20 >=20 >* Ioannis Vranos=20 >* Programming pages: http://www.noicys.f2s.com=20 >=20 >* Alternative URL: http://run.to/noicys=20 >=20 >=20 >-----Original Message-----=20 >From: dev...@li...=20 >[mailto:dev...@li...] On Behalf Of Daniel=20 >Glenfield=20 >Sent: Monday, October 22, 2001 7:56 PM=20 >To: dev...@li...=20 >Subject: RE: [Dev-C++] Strange effect=20 >=20 >=20 >=20 >An object holds it's own data members but does not have it's own copy of=20 >member functions - there is one instance of a member function that is=20 >used by all (since it does not change, while data members do).=20 >=20 _____ =20 Get your FREE download of MSN Explorer at http://explorer.msn.com <http://go.msn.com/bql/hmtag_itl_EN.asp>=20 _______________________________________________ Dev-cpp-users mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20 |