type
Stack[T] = object
top: int
size: int
A: array[size, T]
RunThis does not work as size is unknown at creation. How to create a ptr to array like in C?
type
Stack[T] = object
top: int
size: int
A: array[size, T]
RunThis does not work as size is unknown at creation. How to create a ptr to array like in C?