python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Ada - Column Matrix from 2D array type
I'm new to Ada. I try to initialize the 2D array that have 2x1 dimension. But I don't know how to do this, if I do something like 1..1 I will get an error.
type Matrix is array(Integer range <&...

kotohakana
Votes: 0
Answers: 1
How do you write a program where you can enter a maximum of 5 characters in a string, but also less than 5(in Ada)?
My code so far. It does not work however.
I would like to be able to write something like "go", "car" or "truck", as long as it's 5 characters or less, and the programme ...
Louise
Votes: 0
Answers: 2
Thick binding dynamic library: Undefined references
What I did so far on my Linux Mint system:
Write a thin binding to the GSL library
Write a thick binding based on the thin binding
Write a test program for 1.
Write a test program for 2.
When I crea...
hreba
Votes: 0
Answers: 1
Ada use of aspect Default_Component_Value on an array, with Pragma Pack
I'm using gnat gcc 11.1, and wanted to know if someone can explain to me this behavior:
This is my code:
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unboun...
julius
Votes: 0
Answers: 1