RE: [Dev-C++] Make switch condition an enum
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ho...> - 2002-10-21 02:21:27
|
> -----Original Message-----
> From: dev...@li...=20
> [mailto:dev...@li...] On Behalf=20
> Of Per Westermark
> Sent: Sunday, October 20, 2002 7:43 PM
> To: Ioannis Vranos
> Cc: dev...@li...
> Subject: RE: [Dev-C++] Make switch condition an enum
>=20
>=20
> Bad programming styles aside.
>=20
> While WinNT/Win2k/WinXP uses Unicode-only in the kernel, older Win95,
> Win98 don't have unicode, and have to try and convert any=20
> unicode calls
> back to 8-bit characters. Guess what. That takes time. What=20
> use do I have
> of a wchar_t type, when it doesn't exist on the OS?=20
>=20
> By #undef _UNICODE, a _T("x") program would then compile to a=20
> multi-byte
> character set program, i.e. a lot of strange characters=20
> without a 16-bit
> character type.
>=20
> Life isn't only about C90, C98, C++98 etc. To write programs=20
> the customer
> is happy with, you have to make due with the limitations of the OS,
> available compilers, ...
Well i do not know Win32 API programming. What i know is that wchar_t is
supported in every C++98 compliant compiler even if the OS doesn't
support UNICODE.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys
|