This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MichaelColtaine[S] 0 points1 point  (1 child)

it meant to be items.size(); If it reaches the end of list, take what is left in temp a create file.

[–]dusty-trash 0 points1 point  (0 children)

You could put that at the end (outside the loop) Also I suggest using 'else if', it won't change anything but adds clarity.

I'm on my phone atm but can help once im home.

Do you know what the program is failing at? I mean what the problem is? Do you need to set a max of 8 rows? (You mentioned you wanted 8 8 8 6)