B
Bart Simpson
I have structs that looks like this:
struct StructA
{
//members ..
};
struct StructB
{
//members ..
struct StructA * ptr_
};
ptr_ is actually a ptr to an array of StuctA types. My question is, how
may I index into the array (pointed to by ptr_) given an index - (I
intentionally ignored array bounds checking to keep the question simple)
struct StructA
{
//members ..
};
struct StructB
{
//members ..
struct StructA * ptr_
};
ptr_ is actually a ptr to an array of StuctA types. My question is, how
may I index into the array (pointed to by ptr_) given an index - (I
intentionally ignored array bounds checking to keep the question simple)