From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MAILING_LIST_MULTI autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54e6f3bfd18d2769 X-Google-Attributes: gid103376,public From: Mario Amado Alves Subject: Re: Pointer function parameter Date: 2000/10/17 Message-ID: #1/1 X-Deja-AN: 682435901 References: To: comp.lang.ada@ada.eu.org X-Authentication-Warning: lexis.di.fct.unl.pt: maa owned process doing -bs Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: usenet@enst.fr X-Trace: menuisier.enst.fr 971784789 4881 137.194.161.2 (17 Oct 2000 12:13:09 GMT) Organization: ENST, France List-Id: comp.lang.ada mail<->news gateway X-Mailman-Version: 2.0beta5 X-BeenThere: comp.lang.ada@ada.eu.org Mime-Version: 1.0 Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Date: 17 Oct 2000 12:13:09 GMT Newsgroups: comp.lang.ada Date: 2000-10-17T12:13:09+00:00 > How can you handle address-of-operator (&) in Ada. (Mary) I think you should write "address-of operator", ^ or simply "address operator". Ada access types serve most pointer necessities. In this vein, the Ada expression X'Access is the equivalent of the C expression &X (X being an object). > float calculation(float &num2, float num1) I dont remember using & in function prototypes from my C days, but I may be wrong (I do not have K&R at hand). | |,| | | |RuaFranciscoTaborda24RcD 2815-249CharnecaCaparica 351+939354002 |M|A|R|I|O| |A|M|A|D|O|DepartmentoDeInformaticaFCT/UNL 2825-114 Caparica 351+212958536 |A|L|V|E|S| fax 212948541 | | | | | | maa@di.fct.unl.pt FCT 212948300