comp.lang.ada
 help / color / mirror / Atom feed
From: "Pedro Jose Garcia Gil" <pggil@isa.upv.es>
Subject: float2string
Date: Wed, 6 Mar 2002 16:19:06 +0100
Date: 2002-03-06T15:19:38+00:00	[thread overview]
Message-ID: <a65c2a$ifr$1@polaris.cc.upv.es> (raw)


Hello.
I want to send a float by the serial port.

In C, I use the function "buffer=fcvt(source,7,&decimal,&signo);". I have
tried to import this function from C to Ada95, but I have had problems with
the char pointer (char *buffer). I don't know how to manage with the
equivalent in Ada to a char pointer.

Can I convert a float to a string in Ada?. How?.

 Thank you very much.

 Pedro.






             reply	other threads:[~2002-03-06 15:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-06 15:19 Pedro Jose Garcia Gil [this message]
2002-03-06 15:51 ` float2string David C. Hoos
replies disabled

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