comp.lang.ada
 help / color / mirror / Atom feed
* float2string
@ 2002-03-06 15:19 Pedro Jose Garcia Gil
  2002-03-06 15:51 ` float2string David C. Hoos
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Jose Garcia Gil @ 2002-03-06 15:19 UTC (permalink / 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.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-06 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-06 15:19 float2string Pedro Jose Garcia Gil
2002-03-06 15:51 ` float2string David C. Hoos

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