comp.lang.ada
 help / color / mirror / Atom feed
From: ugur kazar <kazarugur90@gmail.com>
Subject: Ada language help
Date: Wed, 2 Nov 2016 07:12:40 -0700 (PDT)
Date: 2016-11-02T07:12:40-07:00	[thread overview]
Message-ID: <2ca2899f-766b-49d8-ac19-63e474994402@googlegroups.com> (raw)

Hi there i need to work on ada project but i have no idea how to start because i dont have experiance on ada language.Can you give me some ideas to me how to deal with this project.Please dont missunderstand me i am not trying get the finished project from you with the zero afford. i am just asking for your help 
thanks for your help best regards

here is my project:

Homework 1 (to be sent by email before the mid-term exam)
Write a Bag (Multiset) generic package. A Bag contains elements and
their multiplicity as well. Removing an element means decreasing its
multiplicity.
The Bag type should be a record with a discriminant, which is the
maximum capacity of the bag. In the record put an array that contains
(element, multiplicity) pairs. The type of the elements is the parameter of the
generic package.
Define the Add and the Remove procedures, and the Multiplicity function
over the type Bag.
Write a For_Each iterator, which is an inner generic procedure. This
generic has a Process_Elem parameter procedure which will be applied over
each pair of a bag

             reply	other threads:[~2016-11-02 14:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 14:12 ugur kazar [this message]
2016-11-02 14:57 ` Ada language help Jeffrey R. Carter
2016-11-02 21:11 ` Shark8
2016-11-03 13:57   ` ugur kazar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox