Type | Description |
---|---|
ccarr(T) |
Array of Bits |
ccxll(T) |
XOR Linked List |
ccdll(T) |
Doubly Linked List |
ccgbt(T) |
General Binary Tree |
#include "ccxll.h"
// Create
ccxll(int) list;
// Initialize
ccxll_init(list);
// Modify
for (int cnt = 8; cnt --> 0; )
ccxll_push_back(list, rand());
// Operate
ccxll_sort(list);
// Traverse
CCXLL_INCR_AUTO(pnum, list)
printf("num = %d\n", *pnum);
// Destroy
ccxll_free(list);
See test cases for more fascinating examples!
Kevin Dong (KĘĖD) - 2015 ~ 2017
This project is distributed under the MIT License.