[NTLUG:Discuss] parse error before `(' token

balaji krishnan baa_krish at yahoo.com
Mon Nov 10 04:27:15 CST 2003


Hi ..
  Thanks for your EMAIL. Actually i have only the
following in my DB.h
--
#ifndef __Database__
#define __Database__

class Database
{
  public:
    virtual short LoginInformation(std::string USERID,
std::string PASSWORD, std::string CONNECT) = 0;

};

#endif
--
Basically i have stripped down all the other code and
have only the above. Even then it is giving the same
error. 


--- Steve Baker <sjbaker1 at airmail.net> wrote:
> balaji krishnan wrote:
> 
> >  I am hitting an error " parse error before `('
> token"
> > when i try to compile my C++ code.
> 
> I'd bet that there was an error somewhere in 'DB.h'
> - probably
> relating to the definition of the symbol 'Database'.
> 
> ---------------------------- Steve Baker
> -------------------------
> HomeEmail: <sjbaker1 at airmail.net>    WorkEmail:
> <sjbaker at link.com>
> HomePage : http://www.sjbaker.org
> Projects : http://plib.sf.net   
> http://tuxaqfh.sf.net
>             http://tuxkart.sf.net
> http://prettypoly.sf.net
> -----BEGIN GEEK CODE BLOCK-----
> GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N
> o+ K? w--- !O M-
> V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+
> e++ h--(-) r+++ y++++
> -----END GEEK CODE BLOCK-----
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss


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



More information about the Discuss mailing list