This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Unicode to float?


Unicode to float?

Postby WingedOne » May 20, 2004 @ 11:32am

WingedOne
pm Member
 
Posts: 31
Joined: Feb 15, 2002 @ 3:27pm
Location: Philadelphia, PA


Postby Ohayden » May 20, 2004 @ 12:47pm

User avatar
Ohayden
pm Member
 
Posts: 59
Joined: Jun 30, 2003 @ 2:43pm
Location: Somewhere in the matrix...


Postby WingedOne » May 20, 2004 @ 2:04pm

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? :?
WingedOne
pm Member
 
Posts: 31
Joined: Feb 15, 2002 @ 3:27pm
Location: Philadelphia, PA


Postby Ohayden » May 20, 2004 @ 2:51pm

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!
User avatar
Ohayden
pm Member
 
Posts: 59
Joined: Jun 30, 2003 @ 2:43pm
Location: Somewhere in the matrix...


Postby WingedOne » May 20, 2004 @ 6:32pm

WingedOne
pm Member
 
Posts: 31
Joined: Feb 15, 2002 @ 3:27pm
Location: Philadelphia, PA


Postby Dan East » May 20, 2004 @ 6:38pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Tala » May 20, 2004 @ 6:40pm

Tala
pm Member
 
Posts: 125
Joined: Feb 6, 2004 @ 4:32pm


Postby Dan East » May 20, 2004 @ 6:43pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby WingedOne » May 20, 2004 @ 7:58pm

WingedOne
pm Member
 
Posts: 31
Joined: Feb 15, 2002 @ 3:27pm
Location: Philadelphia, PA


Postby Dan East » May 20, 2004 @ 11:55pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby joshbu [MSFT] » May 21, 2004 @ 2:39am

joshbu AT microsoft dot-you-know-where
Windows CE Software Design Engineer

“This posting is provided “AS IS” with no warranties, and confers no rights.”
joshbu [MSFT]
pm Member
 
Posts: 60
Joined: Apr 10, 2004 @ 12:28am
Location: Redmond, WA


Postby mlepage » May 21, 2004 @ 2:44am

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby WingedOne » May 22, 2004 @ 4:23pm

I'm using the dialog box to set size, rotation and location values for 3d primitives.

Thanks again for the help.
WingedOne
pm Member
 
Posts: 31
Joined: Feb 15, 2002 @ 3:27pm
Location: Philadelphia, PA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum