type
        Stack[T] = object
            top: int
            size: int
            A: array[size, T]
    
    
    Run

This does not work as size is unknown at creation. How to create a ptr to array 
like in C?

Reply via email to