Auto increment variable names.

Hi, is there a way to create variables in a program loop with auto incremented variable names. For example,I want to create 5 integer variables with names "A" to "E", without me actually declaring their names with int A, int B...., is this possible in a loop or something?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion