i 've an input file in .xls
my user wrote that in german excel version and so the floating point is like that 55,77
my c++ program can not read this number as i'm using an english c++ version
i did the conversion from , to . in the excel sheet and it works correctly, now i want that my c++ do that and the user do nothing.
there is a faunction in c++ that replace a certain char into another one from an input file!!!!!!!!!!!!!!!

>there is a faunction in c++ that replace a certain char into another one from an input file!!!!!!!!!!!!!!!

Just do something like:

Look for comma
  if found
    then change to full stop
  end if

What's the problem?

Assuming MS-Windows os, use SetLocal and the os will make the conversion for you when the values are read from the file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.