When I saw the answer of @jxh
's to the question how to implement dynamic method dispatcher in C in the stackoverflow, I've decided to fully implement a stack. Then I realized that factory design pattern would be proper to use here.
- modular
This folder includes stack implementation with factory and it is more modular.
- onefile
This folder includes stack implementation without factory and there is only one file.