Käynnissä

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 [url removed, login to view] 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ää: none given, code 999, get string, at just, remove object, numeric, my c, modify c, just remove, c basic, urgent check, read lines, visual studio small program, visual basic case project, check digits project, urgent program, urgent read, cstring, object program, small character, lines code, lines project, small program visual basic, visual studio small project, character studio

About the Employer:
( 7 reviews ) firenze, Italy

Projektin tunnus: #468920

Myönnetty käyttäjälle:

muhmuuh

Hello! Please check PM for details. Thanks

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

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

ErFaisal

Please Check PM for Details. Regards. . .

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