Hello to everybody,
I continue to ask questions!
Now I am writing the package working with polynomials:
Package POLYNOMIAL_PACKAGE is
Type POLYNOMIAL is private;
Procedure Print(...);
Procedure Dump(...);
...
private
...
end POLYNOMIAL_PACKAGE;
but I want to use polynomials with integer and floating coefficients. HOW
CAN I MAKE A GENERIC PACKAGE TO WORK WITH DIFFERENT TYPES OF COEFFICIENTS:
generic
type COEFFICIENT is ???????
package ...
...
end;
Sorry for my stupid questions. I am novice in Ada programming.
Thank you for your time and help!
With best regards, Igor Izvarin.