c++ - Locale independed float input and boost::program_options/istringstream -


i've developed small application waits float values input through command line/boost::program_options .

also parts of application use std::stringstream formatting floats required precision.

my question - need special manipulation proper working of code on systems different locale settings ( because of decimal point separator) ?

i tested application different versions of windows xp localisation, , it's working (arabic, finnish, china, france, hebrew, korea, deutch, turkey, portugal, spanish, polish, japan, english, russian)

i have found topics issues related float string , string float conversion, caused decimal separator - , want sure .

thank you.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -