Search:

Type: Posts; User: milo64

Search: Search took 0.01 seconds.

  1. Find an occurance of a piece of string in a string

    How do I find if a piece of string (let's say, "CDEFG") occurs in a string (let's say, "ABCDEFGHIJKLMNOP") in C?if it occurs, i want to get a 'true' value.if it doesn't occur, i want to get a 'false'...
  2. Replies
    4
    Views
    950

    Dis thread iz now solved! C:

    Dis thread iz now solved! C:
  3. Replies
    4
    Views
    950

    Ok thanks all.

    Ok thanks all.
  4. Replies
    4
    Views
    950

    difference between a cast and something

    Heya!
    What is the difference between a cast:


    (long) 10000000

    And a something:


    10000000L
  5. Replies
    7
    Views
    1,712

    Anyway, i changed it to this way: for (;;...

    Anyway, i changed it to this way:


    for (;; i++)
    {
    if (str[i] != '\0' && str[i] != ' ')
    {
    result[result_pos] = str[i];
    result_pos++;
    }
  6. Replies
    7
    Views
    1,712

    So, you mean, the != returns the false, so, i...

    So, you mean, the != returns the false, so, i should find a kind of loop that would exit if the statement is false? right?
  7. Replies
    7
    Views
    1,712

    i don't understand. :/ i thought it would do:...

    i don't understand. :/

    i thought it would do:

    str[i] is not equal to '\0'; ========>
    +--------------+
    ...
  8. Replies
    7
    Views
    1,712

    Segfault using logical OR on for loop.

    I've received a segmentation fault in this part of code:


    for (; str[i] != '\0' || str[i] != ' '; i++)
    {
    result[result_pos] = str[i];
    result_pos++;
    }

    which, should mean:
  9. Replies
    0
    Views
    692

    Where to download local man pages?

    Since Windows doesn't have man pages, where can I download them (hopefully, it comes in one zip file, each section in folders, page in HTML)?

    I often go somewhere with no internet access and need...
Results 1 to 9 of 9