Search:

Type: Posts; User: errigour

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    688

    C arithmatic dividing question

    Is there a way for me to get a rounded down number from division math.

    I'd like to be able to get a hover position from a division.

    example:


    hoverx = roundeddownatallcost(mouse_x /...
  2. mouse_x is greater then or less then mouse_y.

    mouse_x is greater then or less then mouse_y.
  3. Hey is this valid if (mouse_x >< mouse_y)

    Hey is this valid


    if (mouse_x >< mouse_y)
  4. What happen's to integers when the sum is never...

    What happen's to integers when the sum is never ending?
  5. hey is there any way to get the value of a...

    hey is there any way to get the value of a division of integers into a double etc...
    int i, j;
    double b;
    i = 14;
    j = 4;
    b = i / 4;
  6. so 13.0 % 4 = .25? if yes thanx if not i'm lost....

    so 13.0 % 4 = .25? if yes thanx if not i'm lost. Thanx!
  7. I have never understood the % sign does maybe you...

    I have never understood the % sign does maybe you could explain in to me in a way that I could understand, or not at all.
  8. Thanks Salem. So what the hell does 13 % 4 do?

    Thanks Salem. So what the hell does 13 % 4 do?
  9. and how come when i do d = (13 / 4); d only...

    and how come when i do d = (13 / 4); d only equals 3 even before rounding d.
  10. I thought 13/4 equals 3.25?

    I thought 13/4 equals 3.25?
  11. double integer math problems surpass my programming skills

    ok heres the code:


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

    int main (int argc, char *argv[])
    {
    double d; int j;
  12. Replies
    3
    Views
    1,308

    MAYBE SOMEONE WILL TELL ME i'M USING GCC

    MAYBE SOMEONE WILL TELL ME i'M USING GCC
  13. Replies
    3
    Views
    1,308

    Using libraries with c

    Is there a way to just include the library in the c file or a c header file so I don't have to type -lncurses every time I compile my file.
  14. just for phantomotap, I was trying to find the...

    just for phantomotap, I was trying to find the amount of disks pace that was available.
  15. hmm statvfs might have just fixed my problem.

    hmm statvfs might have just fixed my problem.
  16. Is there a list of functions specific to printing computer information.

    Ok I'm wondering if there are functions for rendering computer information. I was hoping someone could point me to a page about functions for this because I want to get as much information as...
  17. I would even hope that one of you in your...

    I would even hope that one of you in your lifetime create a more speakable synonym.
  18. Alright, well thank you fellas very much I have...

    Alright, well thank you fellas very much I have obtained the definition of the c programming language and am again much obliged.
  19. Well that's simple. Anyways I just wondered if...

    Well that's simple.

    Anyways I just wondered if there was a more proper way to mention the programming language invented by someone and written in the dictionary or something. maybe you could think...
  20. Question addressing the c programming language.

    I am curious if there is a more proper way to address the entire
    language of c programming in a conversation instead of saying
    c programming.
  21. Replies
    11
    Views
    1,409

    Ok the tick message works now.

    Ok the tick message works now.
  22. Replies
    11
    Views
    1,409

    thank you for your help.

    thank you for your help.
  23. Replies
    11
    Views
    1,409

    I'm still having problem with the for loop. It...

    I'm still having problem with the for loop. It doesn't seem to recognize any of the
    structures that I create. The entire code is below that.



    for (d = descr_list; d; d = d->next)...
  24. Replies
    11
    Views
    1,409

    I wanna guess *p=d;

    I wanna guess *p=d;
  25. Replies
    11
    Views
    1,409

    Also in function two you point to NULL but what...

    Also in function two you point to NULL but what would it look like if you
    wanted to change the address by pointing to a pointer? should it be
    *p = d; or *p = *d;
Results 1 to 25 of 106
Page 1 of 5 1 2 3 4