Hi ,
I dont succed to do the following:
I want to eliminate the double quote at the beginning of a word as I read it with fscanf function:
What I did it :
Code:
while (!feof(filein))
{
fscanf(filein,"%s",buffer);
if( buffer[0]==' \" ')
buffer[0]=' \0';
{
fprintf(fout,"%s \n",buffer);
When I print the words , at the word with the double quote at the beginning, it is a blank , and then continue with the other words.
like
for
they
thought
<----suppose to have the word HERE
only
Casey
could
get
Thank you
B.