Friday, 13 January 2012

Conversion from wchar_t to char * and vice versa

 Conversion from wchar_t to char * and vice versa



Converts a sequence of multibyte characters to a corresponding sequence of wide characters.
size_t mbstowcs(
   wchar_t *wcstr,
   const char *mbstr,
   size_t count 
)



Converts a sequence of wide characters to a corresponding sequence of multibyte characters.
size_t wcstombs(
   char *mbstr,
   const wchar_t *wcstr,
   size_t count 
);

No comments:

Post a Comment