Skip to content

Instantly share code, notes, and snippets.

@bhelyer
Created January 23, 2010 20:42
Show Gist options
  • Save bhelyer/284783 to your computer and use it in GitHub Desktop.
Save bhelyer/284783 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <wchar.h>
int main(void)
{
printf("%d\n", sizeof(wchar_t));
return 0;
}
import std.stdio;
void main()
{
writeln("wchar = ", wchar.sizeof);
writeln("dchar = ", dchar.sizeof);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment