hi everyone,
I need some examples of using
"pointer of struct inside another struct"
Thank you kindly
hi everyone,
I need some examples of using
"pointer of struct inside another struct"
Thank you kindly
Code:struct node { char data[128]; struct node *ptr; };
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
A small note. If in case you need to typedef that struct, you do something like:
Code:typedef struct node nodeTag { char data[128]; struct nodeTag *ptr; } node; //example node myNode;