#include int wcscmp(const wchar_t* l, const wchar_t* r) { for (; *l == *r && *l && *r; l++, r++) ; return *l - *r; }