Linked Lists -some tips ?

This is a discussion on Linked Lists -some tips ? within the C++ Programming forums, part of the General Programming Boards category; I need some tip, how to create 3 linked lists and first list should contain only the lowercase characters of ...

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    2

    Question Linked Lists -some tips ?

    I need some tip, how to create 3 linked lists and first list should contain only the lowercase characters of the read string, the second only the uppercase characters of the read string.
    Thanks...

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,772
    Use three std::list<char>, and then read by using std::string objects. What is the third linked list for?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    2
    The third list should contain all other characters of the read string and then i have to sort the created lists by using the merge sort algorithm... And i find it difficult because i'm begginer. haha

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linked Lists?!
    By hwing91 in forum C Programming
    Replies: 32
    Last Post: 11-08-2010, 05:13 PM
  2. Linked Lists 101
    By The Brain in forum C++ Programming
    Replies: 5
    Last Post: 07-24-2004, 04:32 PM
  3. Map file formats and linked lists
    By Spitball in forum Game Programming
    Replies: 2
    Last Post: 03-04-2004, 10:32 PM
  4. need help w/ linked lists
    By MKashlev in forum C++ Programming
    Replies: 11
    Last Post: 08-05-2002, 08:57 PM
  5. doubly linked lists
    By qwertiop in forum C++ Programming
    Replies: 3
    Last Post: 10-03-2001, 06:25 PM

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