index naming

Started by
1 comment, last by dhanyu 20 years, 1 month ago
Hi, java has this wonderful feature to name and index variables... such as "Obj"+i. I''m trying to do the same using c++ ... other than naming the class objects like class_object ob1; class_object ob2; class_object ob3; : : Dose anybody know how to do this in c++ Thank you -Dhanyu
dhanyu
Advertisement
mmm why not use arrays?
Array gives me the same copy of the obeject class.
all the objects in the array act the same.


dhanyu

This topic is closed to new replies.

Advertisement