tags:

views:

9

answers:

1

Hi friends

I have a converter code which will convert one form of data to another format. But this exe is now running in french OS. while reading the file, decimal separator and other thing will vary according to french OS. Ex: In french decimal separator is "," instead of ".". so how to change the cultural info to English while reading data in vc++ 6.0 and not in .NET.

Please help

A: 

Long time since I needed to do this but I think it's just to set the locale using setlocale.

So something like:

setlocale( LC_ALL, "English" );
ho1