views:

89

answers:

0

need to help me for working hex string using c++

  1. how to open file binary data hex line by line c++
  2. how to split line using delimiter like 0x3D c++
  3. how to store all lines in vector map except the line founded of search.

ex. syntax file binary

32 32 32 32 32 32 30 3D 32 30 31 31 31 30 31 30 

32 32 32 32 32 32 31 3D 32 30 31 31 31 30 31 30 

32 32 32 32 32 32 32 3D 32 30 31 31 31 30 31 30

32 32 32 32 32 32 33 3D 32 30 31 31 31 30 31 30 

delimiter = 3D

search = 0x32 0x32 0x32 0x32 0x32 0x32 0x32

last step how to output founded from search like 0x32 0x30 0x31 0x31 0x31 0x30 0x31 0x30 store char*

please help me