Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C - C++ Learning > reading from bi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4218 of 4370
Post > Topic >>

reading from bin file

by _kamsta <kamsta.exe@[EMAIL PROTECTED] > Jul 24, 2008 at 01:34 PM

Hi
I need to read bin file with structure like this:

typedef struct ssDT
{
uint16_t          u16_h;
uint16_t          u16_Id;
uint16_t          u16_Class;
uint16_t          u16_ver;
uint32_t          u32_dev;
uint32_t          u32_ize;
uint32_t          u32_data;
uint32_t          u32_he;
} ssDT;

how can i write this to some txt file with format like this

u16_h:    value
etc

i'm don't have any expiriance and i'm sure that is some easy way to do
this
thx
 




 2 Posts in Topic:
reading from bin file
_kamsta <kamsta.exe@[E  2008-07-24 13:34:44 
Re: reading from bin file
Barry Schwarz <schwarz  2008-07-24 18:42:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 15:06:50 CST 2008.