Skip to content

lion137/C-Dynamic-Array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C Dynamic-Array, non generic (int) implementation

Copyleft 2017 by lion137

 Usage:    
 array_int * x = array_int_init(); // constructor    
 functions over structure, all O(1):    
 - append (add at the end);    
 - pop;    
 - size;    
 - is_empty;  
 - nth(obj, index) (peek the indexed element in the array);    
 - update(obj, elem, ind) (sets the ind - th elementh in the array to elem)    
 - print.      
 Delete object by call delete(obj) and set obj to NULL.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages