Search:

Type: Posts; User: thames

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    999

    hum I see.

    hum I see.
  2. Replies
    10
    Views
    999

    I see. So found, actually, is really a variable...

    I see. So found, actually, is really a variable indicating error. Very ambiguous name :\ many thanks.
  3. Replies
    10
    Views
    999

    do you mean every non-zero value returned by main...

    do you mean every non-zero value returned by main will always be interpreted as failure?
  4. Replies
    10
    Views
    999

    hum but in that case, I found the pattern and I'm...

    hum but in that case, I found the pattern and I'm returning a non-zero to point success. Therefore, I didn't understand why found would be failure.

    edit:



    so, found is indicating that I...
  5. Replies
    10
    Views
    999

    Returning found from main

    Good afternoon. what's the meaning of returning non-zero from main?




    /* strindex: return index of t in s, -1 if none */

    #include <stdio.h>

    #include "Headers/strings.h"
Results 1 to 5 of 5