I have some input to be read by a input filestream (for example):
-365.269511 -0.356123 -Inf 0.000000
When I use std::ifstream mystream;>
std::ifstream mystream;>
You will have to write a custom extraction function, since your specific implementation clearly does not handle them correctly.