S
Servé Lau
Is the %ls format specifier C99 or was it also in C89? For me this is a very
handy feature
#include <stdio.h>
#include <wchar.h>
int main(void) {
wchar_t buf[128];
sscanf("hello", "%ls", buf);
fwprintf(stdout, buf);
return 0;
}
handy feature
#include <stdio.h>
#include <wchar.h>
int main(void) {
wchar_t buf[128];
sscanf("hello", "%ls", buf);
fwprintf(stdout, buf);
return 0;
}