RS>JD> // begin code
RS>Aside from this comment your code was pure C.... I think
RS>we need to at least try to write C++ code in this echo.
Granted. I thought someone might give me some flak over this. ;) And
rightly so.
RS>I'm a C programmer learning C++ so my attempts at C++ are
RS>very C flavored, but I do try to use as much C++ as I can.
The reasons I wrote it in C was because:
a) I was pressed for time
b) I don't know how to do file I/O under C++
If you wouldn't mind, it would help me a lot if you converted the code I
posted to C++. Just as a learning aid. ;-)
___
þ SLMR 2.1a þ We all live in a yellow subroutine.
--- Maximus 3.01
---------------
* Origin: C+Net BBS. Programming & Networking. (1:342/1017)
|