View Single Post
Old 03-02-2005, 04:07 PM   #3 (permalink)
letsC
Registered User
 
Join Date: Mar 2005
Posts: 4
letsC is on a distinguished road
Text File input to array - File format

Hi

Thanks for the reply. Here is the part of the input file called "in.txt"

0x4500004c
0x3728000b
0x7D11FB02
0x81800444
0x81800427

I'm reading the array elements with instructions similar to the following;

ip=(a[0] & 0xf0000000)>>28
SOURCEIP_OCT1= (a[3] & 0xff000000)>>24

Looking forward to your reply.
letsC is offline   Reply With Quote