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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5212284fdbcb2b5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-05 15:34:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!newspeer1-gui.server.ntli.net!ntli.net!newsfep3-gui.server.ntli.net.POSTED!53ab2750!not-for-mail From: "chris.danx" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721 X-Accept-Language: en-gb, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: New to ada, a few questions References: <3D4EE233.7030101@worldnet.att.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Inktomi-Trace: pc3-bbrg1-2-cust234.ren.cable.ntl.com 1028586866 12107 80.5.140.234 (5 Aug 2002 22:34:26 GMT) Message-ID: Date: Mon, 05 Aug 2002 23:33:45 +0100 NNTP-Posting-Host: 80.3.128.4 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep3-gui.server.ntli.net 1028586866 80.3.128.4 (Mon, 05 Aug 2002 23:34:26 BST) NNTP-Posting-Date: Mon, 05 Aug 2002 23:34:26 BST Organization: ntl News Service Xref: archiver1.google.com comp.lang.ada:27730 Date: 2002-08-05T23:33:45+01:00 List-Id: akhar wrote: >>* Ada provides calling conventions and several useful conversions >> for calling functions compiled in C. You cannot use stdio.h in Ada. >> Ada does not understand C source syntax, and Ada has no standard >> preprocessor. > > this means I have to link to a DLL ? no, you can write a binding to stdio functions, import them then link the object file in. How to do the link depends on the compilers involved, so you'd need to read the docs. You don't have to use stdio though, Ada has it's own io functions which are usually just as good. Try the lovelace tutorial, it's a nice introduction for someone who's already programmed before! You can find it via http://www.adapower.com Chris