That's what i've noticed so far, i think that by doing a OR check during the if it can be solved
Type: Posts; User: donaldgx
That's what i've noticed so far, i think that by doing a OR check during the if it can be solved
thanks, with your advice i narrowed to not count words like "theater", then i modified to if(strncmp (bufptr," the ",5) == 0) for "lathe" likes.
The task that i'm trying to perform is to count the number of times that an specific word is repeated on a .txt file. In this case the word "the".
My first attempt is:
while(*bufptr++ !=...
Thanks for the help, it works now.
i have the following code:
#include <stdio.h>
float z(float x,float y)
{
double g;
g = -x*x + -y*y + 2;
printf("%f", &g);