I am not looking for workarounds, this is mainly a question on why a function is missing.
I am slowly getting to the point where I can finish up my first game.
One of my todo's was adding font support (instead of console out).
I added FreeTypeGX for font support (http://wiibrew.org/wiki/FreeTypeGX)
Since using it seemed to be really simple.
But I am using formatted strings (sprintf)
And the FreeTypeGX is using wchar's.
The problem I found is that wprintf is defined in <wchar.h>
Is this an oversight, or am I missing anther include?
I need to get numbers in the texts.
Thnx in advance for your replies.
I am not looking for workarounds, this is mainly a question on why the function is missing.
No wprintf ???
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: No wprintf ???
Newlib ( the c runtime library we use ) doesn't support the wide character functions.
Using wchar tends to be rather problematic though, devkitPPC has been built to use UTF8 internally so it's probably better to use that for localisation.
Using wchar tends to be rather problematic though, devkitPPC has been built to use UTF8 internally so it's probably better to use that for localisation.
Who is online
Users browsing this forum: No registered users and 0 guests