comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <spamoff.danx@ntlworld.com>
Subject: Re: New to ada, a few questions
Date: Mon, 05 Aug 2002 23:33:45 +0100
Date: 2002-08-05T23:33:45+01:00	[thread overview]
Message-ID: <S3D39.1766$J47.23309@newsfep3-gui.server.ntli.net> (raw)
In-Reply-To: n9C39.216$PE6.18962@wagner.videotron.net

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




  reply	other threads:[~2002-08-05 22:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-05 18:07 New to ada, a few questions Stephane Jolicoeur
2002-08-05 20:38 ` Jim Rogers
2002-08-05 22:27   ` akhar
2002-08-05 22:33     ` chris.danx [this message]
2002-08-05 23:25     ` Larry Kilgallen
2002-08-06  3:37     ` Adrian Hoe
2002-08-05 23:56 ` Keith Thompson
2002-08-06  2:31   ` David C. Hoos, Sr.
replies disabled

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