Thread: In need of help. Please.

  1. #16
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    For each string in your file, run strstr(string, your_string_to_remove). If strstr does not return NULL, then you know that what you're searching for is in the string, and then you can act to remove it.

  2. #17
    Registered User
    Join Date
    Nov 2007
    Posts
    69
    I'm at a loss I'm not sure if I understand. where would I place code like this? Would I be using it after I've allocated the memory or throughtoutt he program? I'm sorry if I'm dumb tonight I'm exhausted and I'm running out of time.

  3. #18
    Registered User
    Join Date
    Nov 2007
    Posts
    69
    I see how this would help, however I'm not sure where I would put this statement? I was trying to determine it but it's all running together I can't seem to make heads or tails of anything right now.

    Thank You.

Popular pages Recent additions subscribe to a feed