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-22 04:20:54
|
> -----Original Message----- > From: Per Westermark [mailto:pw...@ia...] > Sent: Monday, October 21, 2002 1:46 PM > To: Ioannis Vranos > Cc: dev...@li... > Subject: RE: [Dev-C++] Make switch condition an enum > > > Most compilers support float and double too, but if the underlying > processor doesn't support it and the c libraries have to > supply a software > emulation, the performance of the program will really suck. Well it will support some floating point type, willn't it? float can be the same with double. > > The trick is to know the target environment before starting to code... > When the target OS doesn't have wide character support, the > use of wchar_t > isn't recommended. Why? wchar_t can be the same as an int for example. While everything will work, like wprintf() etc why not use it? Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys |