The code can be compiled correctly for Win32 platform but for WinCe platform it results in many errors in Debug mode. The errors are related to the header files cstdio, cstring, and cwchar.
Microsoft Visual Studio 9.0\VC\ce\include\cstdio(82) :error C2039: '_gets_instead_use_StringCbGetsA_or_StringCchGetsA' : is not a member of '`global namespace''
error C2873: '_gets_instead_use_StringCbGetsA_or_StringCchGetsA' : symbol cannot be used in a using-declaration
error C2873: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' : symbol cannot be used in a using-declaration
ce7\include\cwchar(66) : error C2873: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW' : symbol cannot be used in a using-declaration
\include\armv4i\stdlib.h(146) : error C2065: '_malloca' : undeclared identifier