Search:

Type: Posts; User: hauzer

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    3,176

    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
    3,176

    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
    4,051

    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
    3,176

    #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
    3,036

    Welcome.

    Welcome.
  7. Replies
    29
    Views
    19,554

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

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

    *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
    4,759

    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
    3,507

    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
    959

    Homework Policy...

    Homework Policy
  12. Replies
    44
    Views
    4,759

    I am seriously considering you a troll.

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

    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
    3,093

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

    Mine returns:

    Look like yours is more than aged.
  15. Replies
    10
    Views
    1,688

    The C Standard Library...

    The C Standard Library

    Also, the man page:
  16. Replies
    14
    Views
    6,024

    Because it compares strings?

    Because it compares strings?
  17. Replies
    11
    Views
    9,488

    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
    2,865

    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
    9,488

    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
    9,488

    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
    9,488

    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
    17,201

    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
    1,309

    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. Replies
    2
    Views
    1,043

    I recommend AutoHotkey...

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