Can be done, but why?
Why not just read the floating values:
Code:std::ifstream input("test.txt"); double d; while (input >> d) { std::cout << "Read " << d << "\n"; }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |