It doesn't work, I need it to ignore the line between the 4 and 5. I just need a way to read the next integer/float/string... on the input.
could you give me an example of how to use fmt.Fscan to make it work like the std::cin in the example I gave?
> Oh, I've been meaning to ask, why don't the scanning functions in fmt ever return os.EOF? Its just a tad frustrating that you can't tell whether you've run out of input or not.
They return an error stating what they were looking for when they ran out of input. Why do you need os.EOF specifically?
-rob