C examples for wchar.h:wchar_t
data type
<cwchar> <wchar.h>
Wide character
#include <wchar.h> int main ()//from ww w . j av a 2s . c o m { wchar_t wcs[80]; wcscpy (wcs,L"these "); wcscat (wcs,L"wide strings "); wcscat (wcs,L"are "); wcscat (wcs,L"for testing."); wprintf (L"%ls\n",wcs); return 0; }