It seems every year, I have to write one simple C-program.\nIf I stare at my only book on C, Comprehensive C, 1992 (way back), my\neyes start to glaze over. It's been along time.\n\nI'm using gcc.\n\nI have a file something like this:\n\nmydata.dat\n0.345 12.613 8.100\n13.118\n8.224 0.777\n22.420 0.546 99.000\n\n\n7.3f specifier. The numbers are lined up, but sometimes there are only\none or two numbers on a line. Actually, I'd be happy to read just one\nline. I think I might be able to carry the ball after that.\n\nI want to read it, and display it on the console.\n\nCan someone supply the details?