Generic Vector and String Library

A comprehensive C library providing a type-safe generic vector implementation and a dynamic string class built on top of it. This library demonstrates modern C programming techniques with memory management, generic programming, and extensible design patterns.

Features

Generic Vector (genVec)

  • Type-agnostic: Works with any data type through void* and size parameters
  • Dynamic resizing: Automatic growth and shrinkage based on usage patterns
  • Memory efficient: Smart capacity management with configurable growth/shrink ratios
  • Comprehensive API: Push, pop, insert, remove, access operations
  • Custom cleanup: Support for custom destructor functions for complex types
  • Copy support: Deep copying with proper memory m…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help