文件名称:c-array:一个简单的标准
文件大小:30KB
文件格式:ZIP
更新时间:2024-05-21 14:06:01
C
c阵列 C的简单std :: vector样式数组 array_t ( int ) a = array_null; // allocate array 'a' with capacity of int[16], and no destructor callback array_alloc (a, 16 , NULL ); array_append (a) = 1; // append to the array, and assign 1 to the appended integer array (a)[0] = 2; // change the value at index 0 from 1 to 2 array_remove (a, 0 ); // remove integer at index 0 for ( int i = 0 ; i < 10 ; ++i) { array_ap
【文件预览】:
c-array-master
----include()
--------array.h(17KB)
----src()
--------tests.c(4KB)
----.gitignore(342B)
----README.md(760B)
----scripts()
--------windows()
--------osx()
--------array.doxygen(75KB)
----.gitattributes(396B)