Software I've developed in the past that might just help to you. |
| Friday, 23 July 2004 23:34 | |||
|
Developing software requires an eye for redundancy. Seek out the inefficiencies and stomp em to the ground. If you have to repeatedly quote a string or do something that requires a number of steps, you might try and reduce the problem down to a library function. These projects are some of my prized utility functions. With a few miscellaneous libraries thrown in. C Libraries tmdate Every programmer has used the time_t data type in C before. We've all used time(),mktime(),etc. But the ANSI standard is really lacking a complete API for dealing with dates. time_t doesn't deal with dates before 1969 which isn't really ideal because we still need to represent dates from WAY back then. :) The struct tm provides a good structure to store dates in but we have to constantly convert back and forth from time_t. This library provides a set of functions to deal explicitly with the tm structure. I can't tell you how much I love this library when dealing with dates. Try it out, you'll find the time_t and standard library just don't cut it anymore. SVN Access: https://dave.thehorners.com/svn/tmdate/ simpprint Extends the printf family of functions to include nice format specifiers to simplify a programmer's life. Coming soon a php version of these functions...as C and PHP counterparts. Current Version is 1.1 Download source package: version 1.0 - 1.1 PEAR Install: pear install http://dave.thehorners.com/personal/code/simpprint/simpprint-1.1.tgz SVN Access: https://dave.thehorners.com/svn/simpprint/ PHP Code Note: You may want to do a "pear upgrade --alldeps pear" before trying to install any of my packages through pear. (some people have reported to have had problems otherwise) VarManager Current Version: 1.05
|
|||
| Last Updated on Thursday, 13 November 2008 08:24 |

