Search:

Type: Posts; User: Ikim

Search: Search took 0.00 seconds.

  1. Replies
    20
    Views
    6,372

    The thing here is to multiply instead of divide...

    The thing here is to multiply instead of divide like you do it in your program for decimals. What I mean is whith the example of .625

    .625*2=1.250 so if you get 1 as integer, you should write a 1...
  2. Replies
    2
    Views
    1,576

    Sorry about the mistake typing the = for the...

    Sorry about the mistake typing the = for the Null, that's ok in my code. But think that the main question you have solve it. Thanks
  3. Replies
    2
    Views
    1,576

    Newbie question: Problem with malloc

    Hi, this code seems to work, but I don't know if it really is working because I get a different size of what I spect. The code is:



    #include <stdlib.h>

    int *buff

    main(int argc, char...
  4. Replies
    11
    Views
    1,351

    Thanks, a lot, It works now. Thanks

    Thanks, a lot, It works now. Thanks
  5. Replies
    11
    Views
    1,351

    Newbie question: problems with fopen

    Hi all, I get an segmentation fault truin to compile this code. What I'm doing wrong?. Thanks.



    #include <stdio.h>

    int i;
    int letter;
    FILE *fp;
Results 1 to 5 of 5