View Single Post
Old 24th March 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,276
Default

Quote:
Originally Posted by xmorg View Post
IS it possible to have pointers to structs within pointers to structs within pointers to structs etc???
Yes, but recognize what you are really trying to ask:

Is it possible to store an address of a nested structure within an enclosing structure which will be set sometime during runtime?
The answer is still "yes".
Quote:
Am I making too much work for miself?
As mentioned before, it appears that you are writing all the code at once, then realizing that it needs to be debugged. Yes, this may appear daunting.

The solution is to break the problem down into smaller portions, & debug them one at a time. This is the secret of writing large applications -- break it down into more managable subsystems, & test, test, test.

Decomposition is cool.
Reply With Quote