This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with constructor return types
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: "Tony Lawrie (freenet)" <tonl at freenet dot co dot uk>, Gcc-Help <gcc-help at gcc dot gnu dot org>
- Date: Sat, 11 Oct 2003 17:20:17 -0500
- Subject: Re: Problems with constructor return types
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