| | Dynamic lists allowed? Juan Gonzalez
|
| | Since I just got started with legOs (thanks to 'Extreme Mindstorms'), I'm creating a set of high level utility functions. This one here is intended to display a DYNAMIC list of values, but there seems to be a problem with the use of 'struct' and (...) (24 years ago, 12-Apr-01, to lugnet.robotics.rcx.legos)
|
| | |
| | | | Re: Dynamic lists allowed? Michael Ash
|
| | | | (...) This should be "struct tNode *next;" (...) After this, any time you want to refer to a tNode, you need to say "struct tNode". Or you can put "typedef struct tNode tNode" and then use the "tNode" as a type like you're doing. (24 years ago, 12-Apr-01, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: Dynamic lists allowed? Juan Gonzalez
|
| | | | (...) Thanks for your help. The program is running fine now. Would you happen to know if anyone has created this sort of high level functions? If not more people might be interested. jm (24 years ago, 13-Apr-01, to lugnet.robotics.rcx.legos)
|
| | | | |