By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,260 Members | 1,243 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,260 IT Pros & Developers. It's quick & easy.

Declaring double in the scope of a class

P: n/a
Hi,

Is it possible in to declare a double constant in the scope of a class?
I'm using Visual C++, and whenever I try to declare private member as

static const double xxx;

I get a compile error. Thanks in advance.

Schiz
Nov 2 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Schizoid Man wrote:
Is it possible in to declare a double constant in the scope of a
class? I'm using Visual C++, and whenever I try to declare private
member as
static const double xxx;

I get a compile error. Thanks in advance.
FAQ 5.8.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Nov 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.