I'm trying to overload the '!=' operator thus :-
        bool operator != (const CFoo& s1, const CFoo& s2);

but the compiler gives the following :-

Error   : illegal 'operator' declaration
stdafx.h line 50    bool operator != (const CFoo& s1, const CFoo& s2);

Can anyone please tell me what I'm doing wrong?

Also what include file do I need for the C function double floor( double
x ); ?

Roger



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to