Description:
Programming issues that transcend languages and OSs.
|
|
|
Message trees can be fast
|
| |
...BGB, you've mentioned hashing quite a bit lately. And, you've posted quite a few algo's... You either have alot of them or you keep changing in an attempt them to improve them. My brute force tests of near 50 hashing algorithms and variations from various sources on the Internet was that there are two good algorithms... more »
|
|
Linked list question
|
| |
What's the difference between using some like struct node* current as a temporary variable in the following function... int Length(struct node* head) { struct node* current = head; int count = 0; while (current != NULL) { count++; current = current->next; } return count; ...As opposed to not using one in the same function....... more »
|
|
How to choose a Data-Structure for a Priority Queue ?
|
| |
I have been asked to make a Priority Queue (PQ) and after making lots of threads on comp.lang.c and writing lots of code I am still confused. The PQ has these requirements: 1) Process approximately 10 million elements, around 1 million at a time. 2) There is no idea how many elements we will be having in the... more »
|
|
Pratt-parser
|
| |
Is anyone here familiar with Vaughn Pratt's concept of "Top Down Operator Precedence" (1973) or Pratt-parsers? I'd like to know more about the technique. Unfortunately, the articles below are programming language heavy. Apparently, Pratt-parsers are recursive descent parsers modified by top down operator precedence. It seems that this dramatically reduces the code size.... more »
|
|
beyond 'switch limit', IDL's...
|
| |
well, I will start out by acknowledging that the prior thread was not all useless, as I did get a rather useful idea from the thread. in particular, the idea had been suggested of using function pointers in place of a switch-based dispatch. I was able to use this strategy along with my prior strategy along with my prior strategy to essentially eliminate... more »
|
|
data structure for network protocol
|
| |
Hello As a students' project, I need to implement a telecommunications protocol. The protocol implies preserving lots of IPv4 addresses along with some additional data in a memory, so my first concern is effective way of storing IP addresses, which can be considered as 32-bit numbers. The second problem... more »
|
|
Displaying pcx to windows?
|
| |
Hello. Like subject says I'm having problem displaying pcx file format image on windows os. I make most of things I opened image. Decoded in memory bytes of image but I now have problem How/wich order in now use function for displaying is there on net some example program in C? Thanks.
|
|
|