Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

building ,extracting binary files in c Help

This topic is 6059 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!!

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!