| Recent
Articles |
A Bit of C Debugging
I have a customer who has a hodge-podge of machines running various software programs.
It's all a mess, low on disk space, not every machine that should be backed up
is backed up, and so on. I'm slowly working toward a better world on some of those
things, but we still have to deal with the day to day problems...
Virtual Methods & Polymorphism in C#
Virtual methods allow object oriented languages to express polymorphism.This means
that a derived class can write a method with the same signature as a method in
its base class, and the bas class will call the derived class's method.By default
in java, all methods... |
|
|
12.01.05 C++
Or C (or Both?) By
A.P. Lawrence
Some of you may have made use of Dean Jones' CleanCode
Email. It's a nicely done mail sender - it's not an SMTP server, it just sends
mail, but lets you specify the gateway or smart host to use, which makes it wonderful
for systems that don't need to receive mail.
It's also great for systems with broken Sendmail that you don't have time to fix,
for debugging, etc. Nice little piece of code, I recommend it frequently.
If you check Dean's site now, you'll
see that he's asking for advice about switching the code to C++. There are features
he'd like to add, and C++ is his preferred language.
Not so many years ago, I would have said "Don't do that", just because having
a working C++ compiler wasn't a given. But nowadays, you'd be surprised if any
system with a dev kit didn't have C++ installed, so I say "sure, why not". But..
I still think he should make the old code available "just in case" - in case there's
somebody with an old clunker that needs this. Don't keep it up to date, just leave
it on the download page as an option.
What do you think? Don't tell me, click on over to Dean's site and tell him.
By the way - if you DO use CleanCode: kick in a little donation. This is good
code that deserves your support.
*Originally published at APLawrence.com
About the Author:
A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com
|