Problems with constructor return types

Eljay Love-Jensen eljay@adobe.com
Sat Oct 11 22:20:00 GMT 2003


Hi Tony,

C++ default constructors are...

Foo::Foo() { ... }

...not...

Foo::Foo(void) { ... }

Also, 0.00 is type double, 0.00f is type float.

HTH,
--Eljay




More information about the Gcc-help mailing list