How do I make a 2D Vector in Ada?
11 September 2023 at 00:39
Hello. I need to create a vector that holds vectors in Ada. I tried this code,which caused an error.
package Vector_Vector is new Ada.Containers.Vectors(Index_Type => Positive, Element_Type => Ada.Containers.Vectors);
use Vector_Vector;
What would be a functional way to do this?
4 posts - 4 participants