Very simple problem, but can’t seem to solve it. I’m probably just not thinking right. So I’m using C and I need to be able to sort some images I download into two rows. Like this: http://i.imgur.com/lWkEO.png
So my program will, say, download 30 images and it has to sort it into these two rows just like you see in the picture. So I know I have to loop through them but can’t seem to get it.
Can someone please help me out? Like I said I know it’s simple but just can’t seem to get it to work! Thanks so much! 😀
Very simple problem, but can’t seem to solve it. I’m probably just not thinking
Share
OK, your loop could either be how Ignacio has done it, or you could do something like this: