On Tue, 17 Feb 2004, Werner Mahr wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am Dienstag, 17. Februar 2004 06:27 schrieb Mike M:
>
> > main()
> > test.cpp:4: warning: ISO C++ forbids declaration of `main' with no type
>
> void main(void) and you have a type.
>

In C++ functions that don't take arguments are f() and not f(void).

Xavier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to