Search:

Type: Posts; User: hauzer

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,120

    Then it's something else wrong with your code. It...

    Then it's something else wrong with your code. It works here.



    test$ cat dftest.c
    #include <stdlib.h>
    #include <stdio.h>
    #include <math.h>

    int main(void)
  2. c = '\t' At line 13.

    c = '\t'

    At line 13.
  3. Replies
    10
    Views
    1,120

    What do you mean it doesn't work? Is that missing...

    What do you mean it doesn't work? Is that missing bracket that should be enclosing if a typo? Otherwise, it should work.
  4. Thread: scanf

    by hauzer
    Replies
    9
    Views
    1,267

    On this board, posts are lengthy for a reason....

    On this board, posts are lengthy for a reason. grumpy gave you all the information you need, have you read it?
  5. Replies
    10
    Views
    1,120

    #include #include #include...

    #include <stdlib.h>
    #include <stdio.h>
    #include <math.h>

    int main(void)
    {
    long double x = 34*pow(10,9);

    printf("%.0Lf\n", x);
  6. Replies
    8
    Views
    1,335

    Welcome.

    Welcome.
  7. Replies
    29
    Views
    10,462

    Give Arch a chance, you most certainly won't...

    Give Arch a chance, you most certainly won't regret it.
  8. Replies
    44
    Views
    2,832

    *Sigh* I'm not trying to shoot down anyone, I...

    *Sigh* I'm not trying to shoot down anyone, I have no pleasure in hindering a motivated learner. I'm just trying to tell him that most of the questions he asks are already chewed out innumerable...
  9. Replies
    44
    Views
    2,832

    Well, I apologize. I understand that you are a...

    Well, I apologize. I understand that you are a beginner, but that, however, doesn't give you the right to harras the forumfellows with objectively unanswerable or commonly answered questions. Do some...
  10. Replies
    2
    Views
    1,742

    There is no need to double post...

    There is no need to double post, if someone can, and wants to answer you, he will.
  11. Replies
    2
    Views
    703

    Homework Policy...

    Homework Policy
  12. Replies
    44
    Views
    2,832

    I am seriously considering you a troll.

    I am seriously considering you a troll.
  13. Replies
    7
    Views
    2,102

    What do you expect? That we tell you the average...

    What do you expect? That we tell you the average of the sum of time it took every person that learned C to learn it, specifically, to make "good" applications? Nobody can give the answer to that...
  14. Replies
    19
    Views
    1,934

    Mine returns: Look like yours is more than...

    Mine returns:

    Look like yours is more than aged.
  15. Replies
    10
    Views
    963

    The C Standard Library...

    The C Standard Library

    Also, the man page:
  16. Replies
    14
    Views
    3,210

    Because it compares strings?

    Because it compares strings?
  17. Replies
    11
    Views
    4,433

    The program will always call that last printf(),...

    The program will always call that last printf(), no matter what's the output of posQuadraticEquation. You shoudn't do any input/output in a function like that, instead you should test it's return...
  18. Replies
    5
    Views
    1,957

    Well, what's the problem? Determining if a number...

    Well, what's the problem? Determining if a number is prime or removing the digits?
  19. Replies
    11
    Views
    4,433

    I tend to miss little things like that too often...

    I tend to miss little things like that too often myself.
  20. Replies
    11
    Views
    4,433

    Notice that D = b^2 - 4ac, not D = sqrt(b^2 -...

    Notice that D = b^2 - 4ac, not D = sqrt(b^2 - 4ac); that is common math, I think. To indicate that there are no real values you could return a NAN. To test the return value use isnan. More...
  21. First of all, a is not big enough to hold that...

    First of all, a is not big enough to hold that string, you need a buffer that can hold the trailing '\0'. Second, you can use scanf("s", &a), there is no need to get one character at a time. Third,...
  22. Replies
    11
    Views
    4,433

    Well, if D < 0 then you won't have any real...

    Well, if D < 0 then you won't have any real values.
    D = b^2 - 4ac
  23. Replies
    3
    Views
    10,194

    Of course you can. The for loop is just shorthand...

    Of course you can. The for loop is just shorthand for:


    #include <stdlib.h>
    #include <stdio.h>

    int main(int argc, char **argv)
    {
    {
    int i = 20; // Initialize
  24. Replies
    3
    Views
    925

    I've read somewhere that typename actually has...

    I've read somewhere that typename actually has some advantages and even if it didn't I would still use it because it's just so much clearer.
  25. I recommend AutoHotkey...

    I recommend AutoHotkey.
Results 1 to 25 of 166
Page 1 of 7 1 2 3 4