urgent help required

This is a discussion on urgent help required within the C Programming forums, part of the General Programming Boards category; "Write a program that takes two multi-word strings as an input. Count the words present in each string. If there ...

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    1

    urgent help required

    "Write a program that takes two multi-word strings as an input. Count the words present in each string. If there are three or more words in both of them then concatenatee the strings and display the concatenated string on the screen."


    please anyone can guide me what i have to do in this program?

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Sure, first, write a program that takes two multi word strings as input.
    Once you have that done, modify the program so it counts the words.
    Once you have that done, modift the program again so that it checks to see if there are more thatn 3 words, and if so append one string to the other string.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User unixOZ's Avatar
    Join Date
    Feb 2002
    Posts
    91
    Thats just lazy. Its quite a simple program, read some tutorials on the internet, buy a book, read your notebooks or go to the public library.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>urgent help required
    Your request isn't urgent to any of us. Read the rules before posting new threads.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    Just search for tutorials on the string library, and you can use pointers so read tutorials about them also.
    none...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help required urgent!!
    By ikj in forum C++ Programming
    Replies: 2
    Last Post: 05-28-2009, 11:15 AM
  2. Replies: 28
    Last Post: 07-17-2006, 12:35 AM
  3. Urgent Help required.. pls help ??
    By intruder in forum Windows Programming
    Replies: 2
    Last Post: 01-10-2003, 01:05 PM
  4. Urgent help required
    By sweets in forum C++ Programming
    Replies: 3
    Last Post: 05-03-2002, 02:17 PM

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