C
Christopher M. Lusardi
Hi,
Is it possible to access the actual value of a symbol at runtime when
you don't know it's definition till then. The symbol can be a variable,
a 1 dimensional array, a 2 dimensional array, or a 3 dimensional array?
If this is possible can you post example code for each case.
(Background: The compiler complains if I just use pointers with nested "if"
statements complaining 3 of the 4 assignments are not defined [identifier
is undefined]. I'm using this code on SGI machines and object code doesn't
contain dimensionality information, only the number of elements [obtained
through the system command dwarfdump on the object code].)
Thank you,
Christopher Lusardi
Is it possible to access the actual value of a symbol at runtime when
you don't know it's definition till then. The symbol can be a variable,
a 1 dimensional array, a 2 dimensional array, or a 3 dimensional array?
If this is possible can you post example code for each case.
(Background: The compiler complains if I just use pointers with nested "if"
statements complaining 3 of the 4 assignments are not defined [identifier
is undefined]. I'm using this code on SGI machines and object code doesn't
contain dimensionality information, only the number of elements [obtained
through the system command dwarfdump on the object code].)
Thank you,
Christopher Lusardi