alright, here's my problem...
how do I access stuffINeed from the pointer?Code:struct STRUCT1
{
STRUCT2* pStruct2;
}
struct STRUCT2
{
int stuffINeed;
}
int main()
{
STRUCT1 someStruct;
STRUCT2 someOtherStruct;
someStruct.pStruct2.stuffINeed = 5;
someStruct.*pStruct2.stuffINeed doesnt work. Can you guys help me out?
This isn't my exact problem, but like my project is way to complicated to post source code