Search:

Type: Posts; User: donaldgx

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,820

    That's what i've noticed so far, i think that by...

    That's what i've noticed so far, i think that by doing a OR check during the if it can be solved
  2. Replies
    5
    Views
    2,820

    thanks, with your advice i narrowed to not count...

    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.
  3. Replies
    5
    Views
    2,820

    Counting specific word from file

    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++ !=...
  4. Replies
    3
    Views
    1,180

    Thanks for the help, it works now.

    Thanks for the help, it works now.
  5. Replies
    3
    Views
    1,180

    problems with printf

    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);
Results 1 to 5 of 5