|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Identifiers in C++
Hi,
I'm trying to reference a variable by the contents of a variable. That is,
x = "myVar";
y = myClass.(x);
where the desired result is to have 7 = myClass.myVar . Is this possible
under (MS) Visual C++ 4.0? If I can do this, it will same me a lot of time
and will make my program much more flexible. Thanks in advance.
Ash David Stirling Email: (ashley@roadrunner.nf.net)
Department of Computer Science Phone: (709) 739-0022
Memorial University of Newfoundland
St. John's, Newfoundland, Canada
=================================================================
To SUBSCRIBE or UNSUBSCRIBE please visit
http://gameprogrammer.com/mailinglist.html
|
|