 |
|
|
|
|  |
 |
|
|
| How to fix the annoying mysql
error : MySQL - ERROR 2002 ... dead but subsys locked |
MySQL |
| A MFC Extension RegEx DLL I created after
becoming annoyed with the alternatives (ie: Boost, and etc.). I've been using
my DLL in several projects and it works flawlessly. The beauty of it, is that
you dont have to install some huge 5Mb library and follow their rules for forming
a RegEx. With mine, you call the function, and write the regex just like you would with Perl
(ie: Match("m/^DannyD\s?(\d+\s\W.*)foo$/ig")). All you have to do is, add the Lib to
your VC++ project and the header file, and booyah, done in literally 10 seconds.
Automation at its finest. Email me, if you want it. |
RegEx DLL |
| A tutorial I wrote for those who want
to know how to build a neural network using Back propagation and etc.
Download requires mfc42 DLL *
Screenshot
*
|
NN |
| Quick example of how to subclass a CListCtrl control in MFC
to change the font attributes, or background color.
|
subclass |
| ANSI C++ MD5 class |
MD5 |
|
|
|
| A guestbook program I made after being
stunned by the amount of shitty free Perl GB programs available on
the web |
Guestbook |
| An unfinished calendar program I made.
It works, I just didnt finish adding alot of extra features and etc. |
Calendar |
| I spent an hour on this (so it may be of use), I needed a
way to sort hash keys by values and have the sorted results returned as the keys.
Why did I need this ? Well, you can't sort a hash that has 2 keys with the same value cause one would
obviously overwrite the other, so the simple solution is sort the values and have the keys returned.
You dont want the values returned cause you could have duplicates.
The keys were used to get the rest of the data also (pointers to each field in another hash),
so I especially needed them in a sorted order. The values were a single field from the row.
To sort the dates, I used a Schwartzian Transform, but the samples only sort keys. Well, to make a
long story short, I learned alot about maps,sort, and chaining, dissecting this to solve it.
And the answer was surprisingly easy !
|
Sort |
| |
|
|
|
 |
 |
|
|
 |
| |
|
|
|
Dan Clark, Copyright © 1999-2001 0101010101. All
rights reserved.
Terms of Use |
Page generated @ September 07 at 11:39 PM
|
|
|
|