Linux: Data Structures for C
How can I use basic data structures such as list, queue and stack in Linux by using C language?
1) List, Tail queue, Circular queue from 'sys/queue.h'
http://stackoverflow.com/questions/1173422/library-for-the-basic-data-structures-such-as-queue-in-c
See 'man queue' also.
Example codes of LIST: http://ideone.com/T1EID
Example codes of TAILQ: http://blog.unx.ca/2006/08/tailq-example.html
2) Priority queue
https://github.com/vy/libpqueue#readme
1) List, Tail queue, Circular queue from 'sys/queue.h'
http://stackoverflow.com/questions/1173422/library-for-the-basic-data-structures-such-as-queue-in-c
See 'man queue' also.
Example codes of LIST: http://ideone.com/T1EID
Example codes of TAILQ: http://blog.unx.ca/2006/08/tailq-example.html
2) Priority queue
https://github.com/vy/libpqueue#readme
댓글
댓글 쓰기