Reusability, mostlyAuthor: The Lord DebtAngel ()
Date: 2000-03-30 00:00:00
This is actually a VB guy talking, but the principles are the same.
I have this code that will recursively read a directory structure and return every file that fits a pattern like "*.jpg|*.gif|*.tif|*.bmp|*.pcx". I stuck it in a class. It took me about three days to write and get perfect. Now, whenever I need it, I add the file and about 12 lines of code. It takes less than two minutes. That is the power of the class.
Mind you, there is not a lot of benefit to that until you realize I could stick that in a DLL and it would work just as well.
Is it not nifty? Sluggy Freelance. Worship the comic.
Does anybody here know C++ 'cause I gotta really good question. - Un-King WizardSlayer - 2000-03-30 00:00:00
-Reusability, mostly - The Lord DebtAngel - 2000-03-30 00:00:00