This is in a header file. I am using Microsoft Embedded Visual C++ Ver
4.00.0714.0
class TLTU
{ private:
int Ns;
double far; // Error this line
};
--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.
HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html
> The code below gets:
> C:\CommOperations\LTU.h(8) : error C2208: 'double' : no members defined
> using this type
> How is this possible when double is a native type?
>
> This is in a header file. I am using Microsoft Embedded Visual C++ Ver
> 4.00.0714.0
>
> class TLTU
> { private:
> int Ns;
> double far; // Error this line
> };
You should probably be asking this in a Visual C++ group. Your question
has nothing to do with CGI.
Dave...
On Tue, 13 Apr 2004 23:05:36 -0700, Artist wrote:
> The code below gets:
> C:\CommOperations\LTU.h(8) : error C2208: 'double' : no members defined
> using this type
> How is this possible when double is a native type?
(snip)
> class TLTU
> { private:
> int Ns;
> double far; // Error this line
> };
'far' is a reserved word on your compiler.
--
Some say the Wired doesn't have political borders like the real world,
but there are far too many nonsense-spouting anarchists or idiots who
think that pranks are a revolution.