I want to load integers from a text file into a class or structure. It should jsut read all lines and load them into it. What is aa easy code for this? I want to keep it simple and easy. Also it should be easy to modify, like modify it according to the exact format of the input of integers.. 1,2,3,4,5 1 2 3 4 5 etc. I suppose the exact format makes a difference and it may need to be modified depending on what format the input will be. I have looked at some things, but I don't understand it yet.