integer array
Type: Posts; User: tripleA
integer array
Some types are platform dependent and float is one of them.
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...
Obviously he did create a project otherwise it will throw an error if he just ran it.
Hard to say without the whole thing.
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.
For blank line: also remove the '\n' for the comment line.
Input to program: check out argument for the main().
It's so simple even a caveman can do it.
Ok I lied, but you can GOOGLE it can't you?
mesg[noOfBytes] = '\0'; is more appropriate.
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.
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
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...
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...
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...
You are doing it wrong with the s2+1, size is 5 so it should be s2.