Thread: Adding data from linked list to string

  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    12

    Adding data from linked list to string

    I've searched for this, but I can't find an explanation anywhere.

    I have a linked list, and a node currentPtr.

    currentPtr has a variable in it "data" which is a string.

    How do I add that string to the end of a string I am building?

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    strcat

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    12
    Thanks, worked like a charm.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Linked list program need help !!!
    By dcoll025 in forum C++ Programming
    Replies: 1
    Last Post: 04-20-2009, 10:03 AM
  2. singly linked circular list
    By DarkDot in forum C++ Programming
    Replies: 0
    Last Post: 04-24-2007, 08:55 PM
  3. HUGE fps jump
    By DavidP in forum Game Programming
    Replies: 23
    Last Post: 07-01-2004, 10:36 AM
  4. Linked List Help
    By CJ7Mudrover in forum C Programming
    Replies: 9
    Last Post: 03-10-2004, 10:33 PM
  5. singly linked list
    By clarinetster in forum C Programming
    Replies: 2
    Last Post: 08-26-2001, 10:21 PM