Re: Reading Float Data from a binary file into ada
- From: "Jeffrey R. Carter" <jrcarter@xxxxxxx>
- Date: Tue, 30 Jan 2007 17:56:44 GMT
frikk wrote:
Basically I need to be able to read in the binary data byte by byte but store it into a 32 bit Float. The C union example above uses the same memory address for the Float as it does for the size 4 char array. I don't even know if the VB dump will correspond with the way ada handles floats or not, but I'll worry about that later.
Any reason you can't call this C function from Ada?
--
Jeff Carter
"I soiled my armor, I was so scared."
Monty Python & the Holy Grail
71
.
- Follow-Ups:
- References:
- Reading Float Data from a binary file into ada
- From: frikk
- Reading Float Data from a binary file into ada
- Prev by Date: Re: Easy question about Character manipulation
- Next by Date: Re: Reading Float Data from a binary file into ada
- Previous by thread: Re: Reading Float Data from a binary file into ada
- Next by thread: Re: Reading Float Data from a binary file into ada
- Index(es):
Relevant Pages
|