Defining a double
Levin, Andrew Michael
andrew.m.levin@vanderbilt.edu
Sun Jun 3 08:02:00 GMT 2007
When I try to compile this code:
class ScoreDistanceRestraints
{
double asdfasdsfa( 0);
};
int main ()
{
return 0;
}
I get three errors that say:
expected identifier before numeric constant
expected ',' or '...' before numeric constant
ISO C++ forbids declaration of 'parameter' with no type
---------------------------------------
Levin, Andrew Michael
Vanderbilt University
Email: andrew.m.levin@Vanderbilt.Edu
More information about the Gcc-bugs
mailing list