Search:

Type: Posts; User: Milhas

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: quick question

    by Milhas
    Replies
    7
    Views
    2,010

    anyone?

    anyone?
  2. Thread: quick question

    by Milhas
    Replies
    7
    Views
    2,010

    Because i want it to return a Int, can you...

    Because i want it to return a Int, can you correct it plz? :)
  3. Thread: quick question

    by Milhas
    Replies
    7
    Views
    2,010

    quick question

    Why is my ceilling allways getting me ZERO as result?

    code: http://pastebin.com/m765144af

    (Dont tell me to use C's ceilling, i'm trying to make one)
  4. Replies
    2
    Views
    1,093

    Help me with this algorithm please

    Picture: http://xs227.xs.to/xs227/08194/draw931.jpg

    I have this matrix where each cell has N of width and M of height. (I know they appear to have diferent sizes but paint s*cks :P)


    I have...
  5. Thread: Int to Float

    by Milhas
    Replies
    8
    Views
    2,091

    is there any error here: xmax = (((float)x1...

    is there any error here:


    xmax = (((float)x1 + ((float)wire_data[0] /2)) > xmax) ? ((float)x1 + ((float)wire_data[0] /2)) : xmax;

    xmin = (((float)x1 - ((float)wire_data[0] /2)) < xmin) ?...
  6. Thread: Int to Float

    by Milhas
    Replies
    8
    Views
    2,091

    Int to Float

    I've tried to do this:




    #include <stdio.h>


    int main() {
    int a=3,b=2;
  7. Omg, this is so strange... i'm gona kill myself,...

    Omg, this is so strange... i'm gona kill myself, i cant solve it any way..... :(
  8. Thread: Sort script.

    by Milhas
    Replies
    8
    Views
    1,401

    http://www.concentric.net/~ttwang/sort/sort.htm

    http://www.concentric.net/~ttwang/sort/sort.htm
  9. Thread: Sort script.

    by Milhas
    Replies
    8
    Views
    1,401

    Found one! Thanks ;)

    Found one!
    Thanks ;)
  10. Thread: Sort script.

    by Milhas
    Replies
    8
    Views
    1,401

    can't find good examples of sorts in google. I...

    can't find good examples of sorts in google.
    I want an algorithm not belonging to libraries.
    I'm planning to sort only one int array of 1000.
  11. Thread: Sort script.

    by Milhas
    Replies
    8
    Views
    1,401

    I can't include that library, can i have some...

    I can't include that library, can i have some source code?
  12. Replies
    15
    Views
    3,719

    Yes, that solves it, &x2 instead of x2. This...

    Yes, that solves it, &x2 instead of x2.

    This tiny details still make me confusion sometimes..

    Thanks ;)
  13. Thread: Sort script.

    by Milhas
    Replies
    8
    Views
    1,401

    Sort script.

    I know there's a lot of sort scripts, i'm trying to find one that's fast for C (everything is fast in C anyway... :P).

    I have this
    int array {3,8,1,9,7,2,5,...}
    I want to sort it this way:
    ...
  14. Yes, it must be the computation.. When i'm...

    Yes, it must be the computation..

    When i'm using unsigned long long int, what cares should i take manipulating them?
  15. Its there, is this one: unsigned long long...

    Its there, is this one:

    unsigned long long int area_camada,boxes_camada,wires_camada; ///HERE!!!!!!
  16. The source code is here:...

    The source code is here:
    http://pastebin.com/m658c4c0b

    I placed a "//////HERE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" marking the lines or functions where the error begins


    If you dont want to see the...
  17. I'm trying to implement unsigned long long int. ...

    I'm trying to implement unsigned long long int.


    But i'm getting this errors (after replacing every %i into &lli or %llu):

    http://xs126.xs.to/xs126/08142/pic183.jpg

    The green line is given...
  18. Please someone.. :'(

    Please someone.. :'(
  19. I'm getting errors. OMG i'm doomed :'( I need...

    I'm getting errors. OMG i'm doomed :'(

    I need to turn int into unsigned long long int for this to work but this functions give me errors when area_camada,boxes_camada,wires_camada are unsigned...
  20. right, i forgot that.. lol Corrected!

    right, i forgot that.. lol

    Corrected!
  21. And if i wanna use unsigned long long int? (i...

    And if i wanna use unsigned long long int?

    (i really need this answer, its for an exam :()
  22. Replies
    15
    Views
    3,719

    Thanks, so i'll have to make that function to...

    Thanks,
    so i'll have to make that function to return a result right? :( (not being void)
  23. What's the difference from passing a int to char and a L L int to char?

    I had some Int that i had to turn into Long Long Int.

    But now all my conversions are mazed!


    I dont know the difference between long long int to char and int to char..

    i tried this example...
  24. Replies
    15
    Views
    3,719

    What's the best debugger to do it?

    What's the best debugger to do it?
  25. Replies
    15
    Views
    3,719

    Ok i know the error now, its a "Segmentation...

    Ok i know the error now,
    its a "Segmentation fault (core dumped)" error as usual in critical moments... :(
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4