local Table = {
[1] = "hello I am 1",
[2] = "hello I am 2",
[3] = 3,
[4] = 4,
[5] = "haha im 5",
};
for i = 1, 5 do
print("i = "..i.." keys to "..Table[i])
end
int array[] = { 1, 2, 3, 4, 5 };
for (int i = 0; i < 5; i++)
cout << array[i];
int array[] = { 1, 2, 3, 4, 5 };
for (int [COLOR="#00FF00"]element[/COLOR] = 0; [COLOR="#00FF00"]element[/COLOR] < 5; [COLOR="#00FF00"]element[/COLOR]++)
cout << array[[COLOR="#00FF00"]element[/COLOR]];