Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2007
    Posts
    6
    Rep Power
    0

    Default Reading Binary File and Changing data

    Hi All,

    1) I have Binary file and also i have the strusture of the file which is in c++.in the file structure 160 fields are there in tht there is a field cocot_ind=0 which type of short.

    2) That binary file(with .DAT extension) is coming from one application. I need to write a utility program which reads that binary file and change the value of cocot_ind=1
    and write it to another binary file.

    can anyone please help me on this.

    Thanks in advance.

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

Similar Threads

  1. Reading a Field in a Binary File
    By janakiram.attuluri in forum Advanced Java
    Replies: 2
    Last Post: 01-09-2008, 10:47 AM
  2. reading a binary file with a RAF
    By jkurth in forum Advanced Java
    Replies: 2
    Last Post: 12-20-2007, 07:30 AM
  3. Reading Data from a file
    By ramachandran in forum New To Java
    Replies: 2
    Last Post: 10-24-2007, 07:22 AM
  4. Reading in data from file line by line
    By bluekswing in forum New To Java
    Replies: 1
    Last Post: 10-02-2007, 12:19 AM
  5. Reading file data that contains no spaces
    By jdepue in forum Advanced Java
    Replies: 1
    Last Post: 08-01-2007, 04:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •