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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f97ccbe2321d4ae X-Google-Attributes: gid103376,public X-Google-Language: FRENCH,UTF8 Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: utilisation fonctions Ada en C From: Georg Bauhaus In-Reply-To: References: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Organization: # Message-ID: <1161363035.5369.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Date: Fri, 20 Oct 2006 18:50:35 +0200 NNTP-Posting-Date: 20 Oct 2006 18:48:24 CEST NNTP-Posting-Host: 7170a23e.newsspool1.arcor-online.net X-Trace: DXC=?hB;6LUIGY3^cW`WBF>WQ4Fo<]lROoR1^YC2XCjHcb96TCMhj@n7_9A:ho7QcPOV3O``5MZIVA0893;c6UU]QV3 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:7088 Date: 2006-10-20T18:48:24+02:00 List-Id: On Fri, 2006-10-20 at 17:58 +0200, corentin barbu wrote: > Bonjour, > Je commence =C3=A0 monter un projet universitaire assez important et les > diff=C3=A9rentes informations glan=C3=A9es sur le net m'ont convaincues d= e > l'=C3=A9crire en Ada, malheureusement, il traine dans le domaine des > afficionados du C qui auraient besoin d'utiliser les fonctions que je > peux cr=C3=A9er =C3=A0 partir de leurs programmes en C.=20 > Je n'ai pas r=C3=A9ussi =C3=A0 voir si il y avait un moyen, relativement = simple, > d'utiliser des fonctions =C3=A9crites en Ada avec des programmes c, je n'= ai > vu que le compilateur titan, payant qui permet de transformer du code > ada en code C, avez-vous d'autres solutions =C3=A0 proposer ?=20 You can use the standard packages for interfacing with C. You can both import functions written in C and use them in your Ada program and also export your Ada subprograms for use in C programs. See your favorite text book, the sections on interfacing with other languages. (I don't speak French really, so maybe I have missed an=20 important detail, please excuse in this case.) More formally, http://www.adaic.com/standards/05rm/html/RM-B-3.html Georg=20