Re: string splitting plzzzzzz help me...
- From: lawrence.jones@xxxxxxxxxxx
- Date: Sat, 3 May 2008 14:43:29 -0400
John J. Smith <jjs@xxxxxxxxxxxxxxxxx> wrote:
Hans Schneider wrote:
lc -ansic -A -shadows -unused -O -c strspl.c -o strspl.obj
Error strspl.c: 73 redefinition of 'wtof'
Error c:\lcc\include\stdlib.h: 55 Previous definition of 'wtof' here
Why is the implementation in question *defining* (rather than declaring)
things inside a standard header?
It's not -- the compiler's error messages are misleading.
(Out of curiosity, what is wtof() documented to be doing?)
Presumably, it's the wide character version of atof() -- it converts a
wide string to a double. It seems to be a Microsoftism, but recent
versions of MSC at least seem to spell it _wtof(), which avoids
polluting the user's namespace.
Why are your programs always not working with LCC-WIN32?
Because LCC-WIN32 doesn't conform to the C Standard in lots of little
ways. Whether that's due to ignorance, carelessness, or just
prioritization relative to other things, I'll leave to you to judge.
-- Larry Jones
Please tell me I'm adopted. -- Calvin
- Prev by Date: Re: help required.
- Next by Date: Re: Dev-C++ compiling problem in Vista
- Previous by thread: Re: string splitting plzzzzzz help me...
- Next by thread: Re: string splitting plzzzzzz help me...