Thread: pch=strstr?

  1. #1
    random number generator reRanger's Avatar
    Join Date
    Oct 2004


    Good Day:
    I have included pch=strstr (input1, 'good'); in my code, but I am receiving erorrs O' plenty; the code is supossed to detect a selected word ('good', for example) from a string and return it, I would think, to be stored in an array for use as a trigger in a following, Boolean function. Do I need to include a pointer such as, pch * strstr (input1, 'good') the variable being char*str[]="good"; ? I am not sure, but I know something is incorrect. Any suggestions would be greatly appreciated ...
    "Nay! But you love the present life!"

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    1) Post the actual code
    2) Post the actual errors

Popular pages Recent additions subscribe to a feed
Website Security Test