🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.oodesign
Article #88

Re: BCB and OO

#88
From: fwang11
Date: Tue, 03 Aug 2004 03:11
33 lines
1520 bytes
Chris Uzdavinis (TeamB) <chris@uzdavinis.com> wrote:
>"fwang11" <fwang11@pub3.fz.fj.cn> writes:
>
>> BCB use 
>> extern PACKAGE TForm *Form;
>> for object declaration.
>>
>> This is non object oriented C style declaration. 
>> Why not declare the object within C++ class?    
>
>Which class would you propose to embed it in?  

could embed it in another class, eg  

class TForm1: public TForm
{
      private: 
        TForm2 *Form2; 
}


>How would that improve
>anything? 
>
>Does it really matter?
>
>-- 
>Chris (TeamB);

To make it pure C++ instead of mix C and C++.

Feng
Technical Details
Message-ID: <410f0267@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <410eeeef$1@newsgroups.borland.com> <j5acxdgdzy.fsf@explicit.atdesk.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10db1e,2b952f7b4dbe888b
X-Google-Attributes: gid10db1e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "fwang11" <fwang11@pub3.fz.fj.cn>
Sender: "fwang11" <fwang11@pub3.fz.fj.cn>
Reply-To: "fwang11" <fwang11@pub3.fz.fj.cn>
Subject: Re: BCB and OO
Newsgroups: borland.public.cppbuilder.oodesign
X-User-Info: 218.66.63.192     
References: <410eeeef$1@newsgroups.borland.com> <j5acxdgdzy.fsf@explicit.atdesk.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <410f0267@newsgroups.borland.com>
Date: 2 Aug 2004 20:11:35 -0700
X-Trace: newsgroups.borland.com 1091502695 207.105.83.66 (2 Aug 2004 20:11:35 -0700)
Lines: 34
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail