I'm surprised that in 2015 C++ doesn't have a decimal data type for exactly these situations. IE. accurate floating-point/decimal math.
Considering that you're using VS10, you don't even have extensive access to C11. To be fair though, C++ is reaching that point in it's lifespan where it's becoming archaic.
I'm not sure where or how you're conjuring the idea that I'm using VS10. I use VS12 and 13.
Whoops, my bad, I was looking at the wrong post