can anyone give me a code or a site for a program that accepts a sentence and display if that word is in the sentence. it should only use string.h and stdio.h. thanx. pls help me.
can anyone give me a code or a site for a program that accepts a sentence and display if that word is in the sentence. it should only use string.h and stdio.h. thanx. pls help me.
hi,
Well as i understand from the question..is that u need parsing solution for strings. here is a one sample code written in C which is actually written for a Comiler syntax anylasis phase..
I hope it will help you..
THE PROGRAM THAT ACCEPTS THE STRING FROM THE USER AND LATER THE WORD THAT U WANT TO VERIFY WEATHER THE WORD IS PRESENT IN IT OR NOT IS ATTATCHED WITH THIS GO THROUGH IT.