TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CRAIG A MCKAY
from: DARIN MCBRIDE
date: 1997-04-17 19:59:00
subject: What`s happenin`

 CAM> for nigh on three years, and I think it's fab.
 CAM> Further, I think Java is for women^H^H^H^H^H lazy 
 CAM> people.  ;)  In the middle of
 CAM> a Java project just now and although you get 
 CAM> everything for free I just feel
 CAM> there was more fun developing your own dynamic array 
 CAM> classes etc., and besides
That's the exact reason I hated C & C++ ... that I had to keep reinventing 
the wheel (linked lists, dynamic vectors, etc.).  At least now I don't have 
to reinvent those wheels (think "STL").
 CAM> application, so the
 CAM> abstract class was a Cell, and from that I produced StringCell, 
ntCell,
 CAM> FloatCell...
That sounds like a definately text-book style of using abstract base classes, 
yup.  :-)
 CAM> // An observation about what C++ means to some lecturers...
 CAM> #include 
 CAM> int main(void)
 CAM> {
 CAM>         cout << "This is C++ just because I'm using " <<
 CAM>                 "cout and not printf..." << endl << flush ;
 CAM>         return 1 ;
 CAM> }
A) The second inserter operator (<<) on the first cout line is unnecessary.
B) Returning non-zero implies an error occurred.  :-)
Side-note for gcc users: don't forget to link in stdc++!  :-)
--- Maximus/2 3.01
---------------
* Origin: Tanktalus' Tower BBS (PVT) (1:342/708)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.