palmer@tybalt.caltech.edu (David Palmer) (02/12/90)
Does anyone have any object-oriented (Think C 4.0) dialog handling
code that I could skeletonize and use in my code? There don't
seem to be any examples in the Distribution.
I am new to object oriented programming. I have produced a new class
which handles physical quantities (scalars, no vectors yet), including
units. This not only allows you to convert among unit systems, it
lets you multiply a speed in furlongs/fortnight by a mass in stones,
then divide by a time in ticks, and get the result (a force) in poundals.
It keeps track of all the dimensions. I don't want to post it yet (what if
everyone posted helloworld.c to comp.sources.misc?) but if anyone needs such
a class, just ask. If anyone who asks is not a rank beginner, I would
be interested in a critique.
Thanks in advance.
--
David Palmer
palmer@tybalt.caltech.edu
...rutgers!cit-vax!tybalt.caltech.edu!palmer
Meanwhile, on eng.string.floss, the waxed vs. unwaxed flamewar continues.