Skip to content

I wondered about how dynamic Arrays worked and this lib is just my own dynamic Array called `DynArray` - I know... that is a really good naming.

License

Notifications You must be signed in to change notification settings

seesee010/DynArray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynArray

Version License: GPL-2.0

A fancy C lib designed to make life easier by using dymanic arrays!

Just a very small lib.

How 2 Use it

You can use the lib by including the dynarray.h.

What are the features?

  • array size increase

  • array size decrease

  • array set size

  • array set size (safe!)

  • array push value (add space if array is on its limit!)

  • array pop value (deletes it!)

  • array fit to other array

  • array insert any value at any index (no out of bounce possible!!!)

  • array clear (set the whole array to a specific value)

  • get array value at a specific index

  • set array value at a specific index

  • get array length (currently used space)

  • get whole array space

License?

License is set to GPL-2.0, see License file for more information.

About

I wondered about how dynamic Arrays worked and this lib is just my own dynamic Array called `DynArray` - I know... that is a really good naming.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages