How to search within a binary file

This is a discussion on How to search within a binary file within the C Programming forums, part of the General Programming Boards category; Hey Hammer, I wanted him to figure this out by himself. That's why I asked him those questions hoping he ...

  1. #16
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    712
    Hey Hammer, I wanted him to figure this out by himself. That's why I asked him those questions hoping he will realize his mistakes by answering on my questions about List. But never mind, I hope this can help khpuce to understand what was going on with his code and why.
    Cheers

    - Micko
    Gotta love the "please fix this for me, but I'm not going to tell you which functions we're allowed to use" posts.
    It's like teaching people to walk by first breaking their legs - muppet teachers! - Salem

  2. #17
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165
    That was a very nice explanation Hammer. To be honest, I didn't think like that and thought it was ok as long as I was getting the desired output on the screen. I actually didn't understand (or try to understand ) what was actually happening behind the scene. So, thank you Hammer for clarification.

    @ Micko : As I've just said above, I thought I've solved the problem so started working on it and didn't come back here yesterday. Sorry about that. But, thanks Micko for your effort. I very much appreciate it.

  3. #18
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    712
    Well, your wish is my command
    Gotta love the "please fix this for me, but I'm not going to tell you which functions we're allowed to use" posts.
    It's like teaching people to walk by first breaking their legs - muppet teachers! - Salem

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  2. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 05:54 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 01:13 AM
  4. Print file in binary mode
    By vikernes in forum C++ Programming
    Replies: 6
    Last Post: 02-25-2006, 12:43 AM
  5. copying binary file
    By samc2004 in forum C Programming
    Replies: 5
    Last Post: 12-09-2003, 01:34 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21