Page 1 of 1

Unicode to float?

PostPosted: May 20, 2004 @ 11:32am
by WingedOne

PostPosted: May 20, 2004 @ 12:47pm
by Ohayden

PostPosted: May 20, 2004 @ 2:04pm
by WingedOne
I'm using PocketGCC.

In stdlib.h I have
#define _wtoi _wtol
#define _wtoi64 _wtoll

but, _wtof seems to be missing and there's no wchar.h file. Now what? :?

PostPosted: May 20, 2004 @ 2:51pm
by Ohayden
Since PocketGCC is a port of GCC try:

wcstof

http://www.delorie.com/gnu/docs/glibc/libc_424.html

Otherwise, you also might want to post your question here:

http://groups.yahoo.com/group/pocketgcc/


Hmmm... or you could always convert the unicode to ansi and then use atof. 8O


Good luck!

PostPosted: May 20, 2004 @ 6:32pm
by WingedOne

PostPosted: May 20, 2004 @ 6:38pm
by Dan East

PostPosted: May 20, 2004 @ 6:40pm
by Tala

PostPosted: May 20, 2004 @ 6:43pm
by Dan East

PostPosted: May 20, 2004 @ 7:58pm
by WingedOne

PostPosted: May 20, 2004 @ 11:55pm
by Dan East

PostPosted: May 21, 2004 @ 2:39am
by joshbu [MSFT]

PostPosted: May 21, 2004 @ 2:44am
by mlepage

PostPosted: May 22, 2004 @ 4:23pm
by WingedOne
I'm using the dialog box to set size, rotation and location values for 3d primitives.

Thanks again for the help.