Thread: String Sub

  1. #1
    Registered User
    Join Date
    Apr 2018
    Posts
    6

    Question String Sub

    hello,
    i need to build program which get a long string and one word
    and check if there is word with the same letter
    i already think how to do this ,
    but i stuck because i don't know how to put the right word in the new string
    in the end i need to return all the word with the word thet include the same letter.
    i dont want the code but i need some idea i think about link list but its to much hard i think array is better but im not sure
    thanks for help.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,666
    A few examples, such as the test cases from your assignment, would help us visualize what you want.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-01-2013, 10:11 PM
  2. Replies: 1
    Last Post: 04-27-2013, 04:36 AM
  3. Replies: 22
    Last Post: 07-28-2011, 01:26 PM
  4. Replies: 7
    Last Post: 06-16-2011, 06:21 PM
  5. Replies: 1
    Last Post: 10-31-2005, 11:36 AM

Tags for this Thread