how to use commands for *bin C flow

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kelly86
    New Member
    • Sep 2007
    • 11

    how to use commands for *bin C flow

    can any one help me to solve this problem!
    i need the commands for the bin file so that i can use it thru C language
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    Originally posted by kelly86
    can any one help me to solve this problem!
    i need the commands for the bin file so that i can use it thru C language
    Can you provide more info on what you need.
    I am not able to understand rightly what u need.
    Raghuram

    Comment

    • kelly86
      New Member
      • Sep 2007
      • 11

      #3
      Originally posted by gpraghuram
      Can you provide more info on what you need.
      I am not able to understand rightly what u need.
      Raghuram

      well my lecturer asked me to go thru the commands that were used in C language using binary file!
      She had a given me a task to use C language to create a hex reader/compiler/editor, for use in our college for modifying *.bin files.
      thats y i don't undertand wat type of commands that she needs!

      Comment

      • gpraghuram
        Recognized Expert Top Contributor
        • Mar 2007
        • 1275

        #4
        Originally posted by kelly86
        well my lecturer asked me to go thru the commands that were used in C language using binary file!
        She had a given me a task to use C language to create a hex reader/compiler/editor, for use in our college for modifying *.bin files.
        thats y i don't undertand wat type of commands that she needs!

        In C language the command used o read the binary file is fread and you shuld use memcpy for copying the read buffer to another buffer.

        Raghuram

        Comment

        • kelly86
          New Member
          • Sep 2007
          • 11

          #5
          Originally posted by gpraghuram
          In C language the command used o read the binary file is fread and you shuld use memcpy for copying the read buffer to another buffer.

          Raghuram


          thank you for your guide and help

          Comment

          Working...