Thread: Roman numbers
View Single Post
  #7  
Old 03-23-2008, 01:42 AM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Quote:
Originally Posted by Chompy View Post
Naw. Using multi-dimensional arrays in this case makes it just alot more complicated since you have to divide the index by two for find the correct number, then plus 1 to find the letter( and by using multi dimensional arrays you can't use the
for(member : array) loop because of indexes being wrong, and you to use an extra variable to count the index), so... Nope. Using multi-dimensional arrays in this case just makes it more complicated then it needs too.
He means {{int,int, ...},{str,str,...}}.
And you can certainly use for (needle: haystack) with a multidimensional array.
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote