Jump to content

  • Log In with Google      Sign In   
  • Create Account

building ,extracting binary files in c Help


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 jakeblues   Members   -  Reputation: 122

Like
Likes
Like

Posted 13 October 2001 - 06:57 PM

can anyone help me out i want to figure out how to build a program to build and extract binary files i have several books but none of them really touch the topic at all is it that difficult? can someone give me an example i know some of you are excellent programmers but i am stumped help me ,help me pease!!

Sponsor:

#2 Deek_2k   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 October 2001 - 10:29 AM

fopen(FILE, filename, "b**");

where ** are your other options for opening like read only and stuff...
that will open the binary file... and i believe to read from it use fread()
and fgets().... and fwrite() to write to the file... its all simple c... but my referance has gone missing and i forget...

Edited by - DeeK_2k on October 17, 2001 5:30:27 PM




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS