Urgent: just few c++ lines

I have to modify a C++ project in Visual Studio 2005, but I don't have the necessary knowledge.

At some point in my code, I have a CString object called "text". After some operations, "text" is assigned a string that should be numeric, between 0.01 and 99,999.99.

Unfortunately, the string provider uses "." for both decimal and thousands delimiter, so I get strings like "10.000", which is read like "10.00", or "10.000.50", which completely fools my program.

Since decimals are always 2 or none, and thousands delimiter is at most 1, I want a small chunk of code that, given the variable text, will check if the character "." is followed by 3 digits (and in this case, remove it from text, or by 2 digits (in this case leave it where it is).

A very easy way to make $30 + feedback in 10 minutes, for anyone with a very basic C++ knowledge.

No more than $30 please... it's more than enough :)

Taidot: C-ohjelmointi

Näytä lisää: t$c, none given, get string c, code 999, c get string, at just, urgent c++ small project, remove object, numeric, my c, modify c, just remove, C==, c/, C++, c$, c#\, c#, c basic, c ++ , c +, basic C++, urgent check, read lines, visual studio small program

About the Employer:
( 7 reviews ) firenze, Italy

Projektin tunnus: #468920

Myönnetty käyttäjälle:


Hello! Please check PM for details. Thanks

30 $ USD 1 päivässä
(19 arvostelua)

2 freelanceria on tarjonnut keskimäärin 30 $ tähän työhön


Please Check PM for Details. Regards. . .

30 $ USD 0 päivässä
(0 arvostelua)