Re: [LIP] parse error before `(' token

balaji krishnan <baa_krish-/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hi
 I am trying to have a Virtual Database class with
run-time binding to a specific Database. Hence that
DatabaseOracle(). 


--- "Josy P. Pullockara" <[email protected]>
wrote:
> On Tue, 2003-11-11 at 11:09, balaji krishnan wrote:
> > class Database {
> >         public:
> >                 virtual short Login() = 0;
> > };
> 
> >         lPtrDatabase = new DatabaseOracle();
> 
> Should it be not
> lPtrDatabase = new Database(); // not new
> DatabaseOracle();
>                                                  
> ^^^^^^
> 
> I think you are too impatient! I hope you learn C++
> from Bjarne
> Stroustrup!
> 
> -- 
> Josy P. Pullockara
> 
> Scientist,                            
> eMail:[email protected]
> Computational and Theoretical         
> Phone:+91-80-505 1627
> Fluid Dynamics Division,               Fax 
> :+91-80-522 0952
> National Aerospace Laboratories        Res.
> :+91-80-524 5053
>
----------------------------------------------------------------------
> Please avoid sending me Word or PowerPoint
> attachments.
> See
>
http://www.fsf.org/philosophy/no-word-attachments.html
> 
> 
> 
>
-------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the
> latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> linux-india-programmers mailing list
> linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
https://lists.sourceforge.net/lists/listinfo/linux-india-programmers


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.