Hi..
now plz read carefully......i have a hexadecimal text file.such as file.txt saved on disk.....
so format of the hexadecimal stored is.....1a 2a 14 01 3d 23 45 12 2c 1c 3a
remember there is space between every hexadecimal ..
i want to read this file of hexadecimal as follows:
i want the when this file is read ,,first it should be stored in array
see follows example.
array[0] = 1a2a , array[1] = 1401 , array [2] = 3d23 ,array[3] = 4512, array [4] = 2c1c....
very important see that at every array position u have read two hexa decimals...at one array position stored it,,,
now these hexa decimal has been read from file and stored in a array,,,,
seconldy i want that array should be of integer,,,means the above hexadecimal should be converted in decimal ...example see below.....
array[0] = 6698 , array [1] = 5121 , array[2] = 15651, array[3] = 17682 , array[4] =11292......
so above the hexadecimal has been converted into decimal and stored in an array of integers....at one position..(very important).....therefore....there should be two array i think one of integers and other of strings.....well i have work hard but could do it...plz help me
Visual C#20
|