I'm working with VC++ 6. I have a dialogue set up in which I want to
input x and y coordinates. I've used the Class Wizard to assign a
'double' to the text box value as I need enough sig. figs. for this to
work correctly. However, when I write the numbers out to a file, I'm
only getting 5 sig. figs. (i.e. a 'float x') rather than the 10 or so
I'd expect from a 'double'. The dialogue will also truncate the
precision as well; if you try entering 9 sig. figs. and refresh the
dialogue it will round it down to 5.
I may well be doing something wrong but I can't see it and I've been
stuck on this for a while. I guess it could be a bug in VC++ 6.
If anyone has the solution or ideas, I'd be grateful.
Dr. Glenn Carver, Senior Research Associate,
Centre for Atmospheric Science, Chemistry Dept., Cambridge University,
"I never think of the future, it comes soon enough"
- Albert Einstein