Is it possible to add a character to the end of a variable name?
I have a set of shapes on my form. The shapes are named Shape1 through to Shape11. The object is to get the shapes moving using a function that adjusts the Left attribute of each shape. Instead of writing out a line of code for each shape, I am using a loop to send the number of each shape to a function. The function then needs to put the number onto the end of the word Shape to form ShapeNumber (i.e. Shape1, or Shape2 etc). I've heard its possible but being relativly new to C++ I can't figure it out. Any help would be greatly appreciated.