Search:

Type: Posts; User: juvan

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    971

    I have come to the conclusion that the IDE was...

    I have come to the conclusion that the IDE was acting up, because when I copy->pasted the exact same source code in a new project in the same IDE (Pelles C) it worked. So I can only conclude that IDE...
  2. Replies
    5
    Views
    971

    Hmmm, I think it has something to do with the two...

    Hmmm, I think it has something to do with the two lines:


    strcpy(&buf[strlen(buf)], token[i]);
    strcpy(&buf[strlen(buf)], "\n");

    more specifically the
    strlen(buf) function, because if I...
  3. Replies
    5
    Views
    971

    I don't think it's the printf's fault. For the...

    I don't think it's the printf's fault. For the sake of clarity I will just paste the whole code, because I think the problem could be quite hidden in with all the pointers and what not. So here is...
  4. Replies
    5
    Views
    971

    Compiler at fault??

    Hi everybody, a new member writing here. I have a head scratcher on my hands.

    Code: (the original source code is a bit longer with unneeded info (i think) so I didn't include all of it. Here is...
  5. Replies
    17
    Views
    4,170

    Nice of you to help, but now you're just...

    Nice of you to help, but now you're just patronizing. So let's just end the discussion.

    HF.
  6. Replies
    17
    Views
    4,170

    I was searching with no success, would you...

    I was searching with no success, would you perhaps have a link?
  7. Replies
    17
    Views
    4,170

    A) Yes it really is B) It's hard to look if you...

    A) Yes it really is B) It's hard to look if you don't know what you're looking for.

    In the HELP FILE: long long, unsigned long long | 8 bytes | 8 bytes | [3.00] 8 bytes

    This was the only thing...
  8. Replies
    17
    Views
    4,170

    As I said, I don't care about printing large...

    As I said, I don't care about printing large numbers and getting to see the right values, my problem was, when I at first said:

    printf("=%lu =%lu\n", 11111111111, 11111111111); // Output:...
  9. Replies
    17
    Views
    4,170

    printf("=%lu =%lu\n", 11111111111UL,...

    printf("=%lu =%lu\n", 11111111111UL, 11111111111UL);
    This does not work.

    But this:

    printf("=%llu =%llu\n", 11111111111ULL, 11111111111ULL);
    works like a charm, even if I input something like:...
  10. Replies
    17
    Views
    4,170

    Don't know exactly what you mean. If you mean ...

    Don't know exactly what you mean. If you mean

    printf("=%u =%u\n", 11111111111UL, 11111111111UL);
    or

    printf("=%lu =%lu\n", 11111111111, 11111111111);
    well neither work.
  11. Replies
    17
    Views
    4,170

    printf() bug? or..?

    Hello

    could someone please explain this odd behavior of a printf() funtion:


    printf("=%lu =%lu\n", 11111111111, 11111111111); // Output: =2521176519 =2

    Thank you.
Results 1 to 11 of 11