Re: [LIP] parse error before `(' token
Ritesh Bharati <rbharati-vSH/[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
have u declared/defined u r class DatabaseOracle() ... u can have run time binding ( using dlopen() , dlsyn()) but object u r creating shud have class declaration for it some where which implements u r interface. balaji krishnan wrote: >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/ >_______________________________________________ >linux-india-programmers mailing list >linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >https://lists.sourceforge.net/lists/listinfo/linux-india-programmers > > ------------------------------------------------------- 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/