Sample C code of parsing solution for strings

Status
Not open for further replies.

jaywee03

Newbie level 4
Joined
Jul 13, 2004
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
54
strings and arrays in c

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.
 

Re: strings and arrays in c

jaywee03 said:
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.

What you actually want to ask?
 

Re: strings and arrays in c

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..
 

Re: strings and arrays in c

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.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…