How can i solve this problem? You can see the problem in last lines, how can i show the names (for example) which are in a line where day=2? Becouse [i] contains the number of the line, and i must write something into the array. And how i can show the container of a line when there is no number at the begginning of the .txt (like 5 in this example). Sorry, it's very hard to say with my English.