Does standard c library provides linked list etc. data structures?

后端 未结 6 562
囚心锁ツ
囚心锁ツ 2020-12-13 02:10

Do standard C library implementations, especially glibc (the GNU C Library) provide linked lists, stack et al. data structures, or do we have to roll our ow

6条回答
  •  时光取名叫无心
    2020-12-13 02:13

    The C Standard does not provide data structures like linked list and stack.Some compiler implementations might provide their own versions but their usage will be non portable across different compilers.

    So Yes, You have to write your own.

提交回复
热议问题