Re: [LIP] parse error before `(' token
"Josy P. Pullockara" <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Organization | National Aerospace Laboratories |
| Message-ID | <[email protected]> |
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/