• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Ada95 Help

K

kch1

Guest
#1
Im using ada95 with the AdaGIDE environment, GNAT Compiler and Jewl libraries. I need help using Input files. I have an input file that I need to split up into component parts, the file looks something like this 0000000 0AAA 00 A 0000000 0AAA 00A and so on for 1 line. The values are irrelevant, I need to know how to read them in groups as apposed to one line eg: reading only 0000000 in from the whole line.
 
#2
ADA95. That was a short chapter in my programming life. :)

I suggest you read byte-by-byte and slice the data whenever you find a space.
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,014
Latest member
sanoravies