Search:

Type: Posts; User: tripleA

Search: Search took 0.01 seconds.

  1. Replies
    27
    Views
    5,056

    integer array

    integer array
  2. Replies
    4
    Views
    944

    Some types are platform dependent and float is...

    Some types are platform dependent and float is one of them.
  3. Thread: Huffman

    by tripleA
    Replies
    3
    Views
    2,272

    I don't think you understand Huffman encoding...

    I don't think you understand Huffman encoding fully and you should use a linked list for the tree.

    I suggest use an array of linked list pointers when constructing the tree.

    -Before you...
  4. Replies
    12
    Views
    5,175

    Obviously he did create a project otherwise it...

    Obviously he did create a project otherwise it will throw an error if he just ran it.
  5. Replies
    12
    Views
    5,175

    Hard to say without the whole thing.

    Hard to say without the whole thing.
  6. Replies
    2
    Views
    7,409

    glbegin() is really old way. check out how to...

    glbegin() is really old way. check out how to use VBO so you can just do one triangle then translate it to make your grid.
  7. Replies
    7
    Views
    1,574

    For blank line: also remove the '\n' for the...

    For blank line: also remove the '\n' for the comment line.

    Input to program: check out argument for the main().
  8. Thread: Send a byte...

    by tripleA
    Replies
    4
    Views
    1,783

    It's so simple even a caveman can do it. Ok I...

    It's so simple even a caveman can do it.

    Ok I lied, but you can GOOGLE it can't you?
  9. mesg[noOfBytes] = '\0'; is more appropriate.

    mesg[noOfBytes] = '\0'; is more appropriate.
  10. Replies
    2
    Views
    1,646

    address.sin_port = 0; This is your problem. ...

    address.sin_port = 0;

    This is your problem. If you want specific port then change it to something else. Other wise it will be different port every time.
  11. Replies
    9
    Views
    23,253

    You are checking the currently what's in the...

    You are checking the currently what's in the array not the input value.

    you're just replacing the ids[i] till you a seg fault because there is no bound
  12. Why not just malloc an array to fit those values,...

    Why not just malloc an array to fit those values, as quzah said a more than two dimensional array just doesn't make much sense. In two dimensional array, one array have the function name as the key...
  13. Replies
    9
    Views
    3,212

    To keep it efficient you don't want to do all...

    To keep it efficient you don't want to do all those multiplication over and over again in the for loop. The h multiplication in my suggestion can be taken out and do it after the loop.

    And my...
  14. Replies
    9
    Views
    3,212

    OK you still have several errors there. Here are...

    OK you still have several errors there. Here are my suggestions and what I would do:

    1; Don't pass the areas just call the function and return the area.

    2; evaluate the stepping size first...
  15. Replies
    1
    Views
    1,595

    You are doing it wrong with the s2+1, size is 5...

    You are doing it wrong with the s2+1, size is 5 so it should be s2.
Results 1 to 15 of 15