typedef struct litem_t{ ... } litem; typedef struct llist_t{ struct litem_t *item; struct llist_t *next; } llist; llist* addItem(llist* alist, char* orderno, char* name, float price, int count, float sum){ ... } ...weitere Hilfsfunktionen ... int main(int argc, char** argv){ ... llist *alist; alist= addItem(NULL, "UT 2042 C","40 MHz-Digital-Speicher-Oszilloskop",349.00, 1, 349.00); alist= addItem(alist, "AGF 2 SW","Hirschmann-Abgreifklemme 4mm schwarz",5.10,1, 5.10); ... /* ausgeben der Liste: */ ... }