program in C

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • appy
    New Member
    • Apr 2007
    • 17

    program in C

    hello everyone, thanks for ur replies
    i want to write programme in C to find is one special word in the sentence or not? what statement should i use?
    ****word is an arrey and sent is a pointer.****
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by appy
    hello everyone, thanks for ur replies
    i want to write programme in C to find is one special word in the sentence or not? what statement should i use?
    ****word is an arrey and sent is a pointer.****
    Have a look at the strstr( ... ) function.

    kind regards,

    Jos

    Comment

    • appy
      New Member
      • Apr 2007
      • 17

      #3
      word in sent

      thanks Jos, i know strstr function but it doesn,t operate right,
      for examle if i have " noon" as my word and have "afternoon" in my sent , it suppose that my word is in the sent however "noon" is not in the sent exactly!


      regard
      appy

      Comment

      • RedSon
        Recognized Expert Expert
        • Jan 2007
        • 4980

        #4
        appy,

        In the future please reply to the topic that you started instead of creating a new thread and posting a reply to a thread there.

        Comment

        Working...