Refer to this question: How many digits of the double type can survive when going from C# to C++?
It was closed for the reason "Off-topic":
"Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Hans Passant, Alan Birtles, Narendra Jadhav, mag_zbc, Rob
What?
This is not a question seeking debugging help-- in fact it is asking a factual question, and has a factual answer.
Ironically one of the comments actually gives the answer, and suggests a solution. So it is answerable, and is not off-topic. If the comment was posted as an answer, I would have prepared to accept it.
And I do think the question is phrased in such a way that will help incoming visitors from Google Search Engine.
Edit 1: I've edited the question to explicitly asked the user to not solve my code.
Edit 2: Someone brings up my 500+ questions history, so it is only fitting for me to elaborate on this here. If you compare my early questions vs. my lately questions, my early questions tend to receive better answers and more upvotes in general, despite that they were not necessarily better written than my current ones. I would even say that my early questions were worse-off, but the early SOers were a lot more helpful and forgiving, and tended to answer the question from an answerable angle, instead of nitpicking and finding ( very hard) an interpretation that would render the question unanswerable and then proceed to close it as "Off topic".
My question history, instead of reminds me how to write good questions, actually reminds everyone how far SO has (d)evolved in the direction of increasing unhelpfulness, hostility, nitpicking and unforgiving lately.