Главная страница | назад

Article #19643: Setlocale() not working.

 Question and Answer Database

     FAQ: FAQ4643C - Setlocale() not working.
Category: C/C++ Language Issues
Platform: All-32Bit
 Product: All-CBuilder,   


setlocale() is not working with the C++Builder compiler 
as it does in VC++. Is there something I am doing wrong?


In the Borland compiler, you must define the macro __USELOCALES__
if you want the C++ version of the function, otherwise you get the 
ansi C verion (which seems almose useless).

6/16/99 2:51:43 PM

Last Modified: 01-SEP-99