Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3029

Creating a variable using a variable?

$
0
0
Hi guys.
Okay, so I am quite new to programming, and i was wondering if there is any way to create a variable using a variable in the name?
So f.x. if you wanted to create an int named nr(x), and x was 1, you would get an int variable named nr1? How would you do this?

Viewing all articles
Browse latest Browse all 3029

Latest Images

Trending Articles



Latest Images