3 ms·
I'm in a bit of an odd place here, but we develop C++ on Windows (both client and server software). You'd think that C++ would be relatively portable (though n
by dijit 7y ago
I'm in a bit of an odd place here, but we develop C++ on Windows (both client and server software).
You'd think that C++ would be relatively portable (though not as portable as Java), but you'd be mistaken. So many things are not portable.
- whb07 7y agoI actually was writing C and lo and behold MSFT has a 16 byte char as their default. lol tchar
- int_19h 7y agoTCHAR is a Win9x relic hasn't really been something to be concerned with for well over a decade now. It took a while for MSDN to acknowledge that, but these days it even documents the A/W versions of each struct and function explicitly, and doesn't mention the generic aliases. But wchar_t is still 16-bit, yes - it's baked into the ABI for good now. It's not even a "default", since you can't change it.