C double linked list with abstract data type

后端 未结 5 651
暖寄归人
暖寄归人 2020-12-14 05:08

i need in double linked list in C, but it must be for different types. In C++ we use templates for it. Where can i find example in C for double linked list with abstract typ

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-14 05:18

    Handling arbitrary data in C is usually done by using pointers - specifically void * in most cases.

提交回复
热议问题