Ada95 Help

Discussion in 'Windows Desktop Systems' started by kch1, Mar 10, 2003.

  1. kch1

    kch1 Guest

    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. Zedric

    Zedric NTFS Guru Folding Team

    Messages:
    4,006
    Location:
    Sweden
    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.