Thread: A little help with string manipulation

  1. #16
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Quote Originally Posted by Ancient Dragon
    yes, its true that memmove doesn't allocate space, but it doesn't have to. The space is already allocated.
    Ah, I see that you weren't trying for a reusable solution. My mistake.

    Hope is the first step on the road to disappointment.

  2. #17
    Registered User
    Join Date
    Aug 2005
    Quote Originally Posted by dwks
    Couldn't you just go like this?
    char recent[99] = {0};
    yes, I just keep forgetting about that .

  3. #18
    Registered User
    Join Date
    Nov 2005
    Wow. That's a lot of stuff to absorb. I'll try and understand as much as I can.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ ini file reader problems
    By guitarist809 in forum C++ Programming
    Replies: 7
    Last Post: 09-04-2008, 06:02 AM
  2. Compile Error that i dont understand
    By bobthebullet990 in forum C++ Programming
    Replies: 5
    Last Post: 05-05-2006, 09:19 AM
  3. Replies: 4
    Last Post: 03-03-2006, 02:11 AM
  4. Linked List Help
    By CJ7Mudrover in forum C Programming
    Replies: 9
    Last Post: 03-10-2004, 10:33 PM
  5. string manipulation
    By SPEKTRUM in forum Linux Programming
    Replies: 3
    Last Post: 01-26-2002, 11:41 AM