create int's in a loop
in
Programming Questions
•
2 years ago
is something like this possible?
for (int i = 1890; i <= 2011; i++){
int ("y"+i) = new int;
}
y1995++;
print(y1995);
for (int i = 1890; i <= 2011; i++){
int ("y"+i) = new int;
}
y1995++;
print(y1995);
1