Snippets
For all the time I program I have written so many lines of code.
I decided to put some small pieces of code here. Perhaps it will help
somebody in their project.
I have got here only few codes right now, but I am searching my archives
for something intereseting to put here. I am sure you will need to modify
these codes in order to make them suitable for your project, compiler, needs.
Anyway I cannot guarantee you anything related to these codes as being
bug-free, correct or suitable for any purpose.
Assert
assert.zip (491B) -
my own version of perhaps the most important C++ macro ever. MinGW only.
Most of other my source code uses it, so download it if you don't want
to spend time modifying my sources.
Hash
hash.zip (2k) - err, hash
is not lucky name for these codes. The package in fact contain two small
templates for storing sorted list of items with unique keys, and implements
fast search. One version can work on any key you want, second on ASCIIZ
strings.
Stack
stack.zip (986B) -
completely trivial implementation of stack with interface similar to std::stack. This code is very straightforward.
More
That's all for now, but if you are looking for more interesting stuff,
look at other projects in this section. For example:
Z4 Library
- it is easy to extract and use implementation of very effective cache from there, which solves also read-only access. It is used in Z4 for smart storage
of decompressed data. You can find there also simple but not trivial encryption
algorithm and more.
|
| |
 |
News at this page |
|
There are no news available for this page. |
|  |
|
|
|