for loop with two integers
i'm new here. I would like to know, how to use for loop with 2 integers.
Let's say:
for (int x = 1, int y = 1; x <=200, y <=4; x++, y++)
I need it, because I have some images on my web server, with the following
names:
1501.png, 1502.png, 1503.png, 1504.png
1511.png, 1512.png, 1513.png, 1514.png
As you can see, last digit from my image name is y and first 3 digits is x.
I want to use something like:
[@"mywebsite/%i%i.png", x , y]
Any suggestion?
Monday, August 12, 2013
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment