Search:

Type: Posts; User: kermit

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    497

    If you are sure you have found a problem, then...

    If you are sure you have found a problem, then you can find contact info here.
  2. Replies
    6
    Views
    964

    @OP, you would have caught this problem if you...

    @OP, you would have caught this problem if you had your compiler warnings turned on. For example, with gcc you could have done:


    gcc -Wall -o someprog someprog.c

    Without -Wall:

    ...
  3. Replies
    18
    Views
    4,159

    Agreed on both counts.

    Agreed on both counts.
  4. Replies
    54
    Views
    3,006

    Speaking of smug.... :D (I have a 50g and a 35s,...

    Speaking of smug.... :D (I have a 50g and a 35s, and I love them both).



    I like this, but I thought it was C that attracted smug users, being the system language for UNIX:

    Dilbert Comic...
  5. Replies
    12
    Views
    1,300

    At the very least make sure it is the most up to...

    At the very least make sure it is the most up to date version. There is a new (forked) version of Dev-C++. You can find it here
  6. Replies
    12
    Views
    945

    As an aside, Ronaldo95163, there is a new...

    As an aside, Ronaldo95163, there is a new (forked) version of Dev-C++. You can find it here.
  7. Replies
    12
    Views
    945

    I find it hard to understand how you had the...

    I find it hard to understand how you had the wherewithal to write a program like the one above, yet don't understand what functions to call.

    What seems more plausible to me is that you have been...
  8. Replies
    7
    Views
    619

    You can't do that. If you want the value in b...

    You can't do that. If you want the value in b static, make it so within the body of the function.


    void func(int b)
    {
    static int c = b;
    printf("%d", c);
    }
  9. Replies
    12
    Views
    1,300

    #include #include float...

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

    float fact(int);
    double monom(float x, int n);

    int main(void)
    {
    float x;
    printf("please enter x value for e^x: ");
  10. @ the OP: grumpy is right about the book you are...

    @ the OP: grumpy is right about the book you are using. Unfortunately it seems that there are multiple poor introductory C books published for every good one. One of the challenges of writing a...
  11. To start, try changing your calls to scanf()...

    To start, try changing your calls to scanf() from:


    scanf("%.1f")

    to


    scanf("%f")
  12. Thread: Merry Xmas!

    by kermit
    Replies
    10
    Views
    840

    Merry Christmas!

    Merry Christmas!
  13. Replies
    13
    Views
    1,176

    The last few times I have poked around on here, I...

    The last few times I have poked around on here, I have noticed it seems to have less things going on (I could be totally wrong on that account). I have a new hobby these days, and it has nothing to...
  14. Replies
    85
    Views
    5,730

    Elysia is just a Linux hater. :D

    Elysia is just a Linux hater. :D
  15. Replies
    9
    Views
    1,347

    The code you posted will not even compile (you...

    The code you posted will not even compile (you are missing some semi-colons at the end of a couple of your assignment statements). As the previous posters mentioned, you need to allocate some space...
  16. Replies
    41
    Views
    4,019

    Dennis M. Ritchie

    Found out from twitter that dmr passed away.
  17. Thread: getchar()

    by kermit
    Replies
    4
    Views
    1,472

    @bbray, Since you declared d as a char type...

    @bbray,

    Since you declared d as a char type variable, you ought to read this.
  18. Replies
    20
    Views
    2,941

    Here is a monstrosity that I wrote years ago: ...

    Here is a monstrosity that I wrote years ago:


    /* convert_binary.c
    * Sat Aug 20 17:23:52 EDT 2005
    *
    * A program which accepts an unsigned
    * long integer input from the user
    * and then...
  19. Thread: Clearing stdin

    by kermit
    Replies
    6
    Views
    2,249

    It would be helpful if you posted your code.

    It would be helpful if you posted your code.
  20. Replies
    56
    Views
    5,568

    I like the cheating idea better. Since the...

    I like the cheating idea better. Since the requirements, as far as I can tell, only seems to be interested in the final output, it is simple enough to run through the string, find the space, change...
  21. Replies
    19
    Views
    2,335

    I have an Acer Aspire 5253-BZ400. It suits me...

    I have an Acer Aspire 5253-BZ400. It suits me just fine. Pretty basic - not a lot of bells and whistles like you might find on an HP, but then again, a lot of that glitzy crap seems to break...
  22. Replies
    2
    Views
    680

    How about a \ escape?

    How about a \ escape?
  23. Replies
    8
    Views
    4,478

    Right - I should have been more specific and...

    Right - I should have been more specific and stated that my question was an aside as relating to your problem. I mentioned it only because the FLTK main page lists the 2.x branch, but does not...
  24. Replies
    8
    Views
    4,478

    Is FLTK 2.x a requirement? If not, you may want...

    Is FLTK 2.x a requirement? If not, you may want to consider 1.3, as 2.x is pretty much a dead issue (except for the odd bug fix) whereas 1.3 is the current active release.
  25. Replies
    8
    Views
    7,745

    void a_UIcmd_set_page_title(BrowserWindow *bw,...

    void a_UIcmd_set_page_title(BrowserWindow *bw, const char *label)
    1143{
    1144 const int size = 128;
    1145 char title[size];
    1146 /* At this point size==-128 (though I have seen it as...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4