C
cafetiere
I have double doubt.I write international program and my program
process international characters.But assign big character is half
lost.Then I write test program and program print is 1 but big
character need 2 bytes or 4 bytes.
#include <stdio.h>
int main (void)
{
double char ch= L'x';
printf ("sizeof(ch): %d\n", sizeof(ch));
return 0;
}
Compiler print no warn.Is compile problem?I use win32.
process international characters.But assign big character is half
lost.Then I write test program and program print is 1 but big
character need 2 bytes or 4 bytes.
#include <stdio.h>
int main (void)
{
double char ch= L'x';
printf ("sizeof(ch): %d\n", sizeof(ch));
return 0;
}
Compiler print no warn.Is compile problem?I use win32.