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

Y'ello Darin!
17 Apr 97, Craig A McKay had to endure Darin McBride's ramblings (shown 
below).
 CAM>> everything for free I just feel
 CAM>> there was more fun developing your own dynamic array
 CAM>> classes etc., and besides
 DM> That's the exact reason I hated C & C++ ... that I had to keep
 DM> reinventing the wheel (linked lists, dynamic vectors, etc.).  At
 DM> least now I don't have to
 DM> reinvent those wheels (think "STL").
Well, you can always download a working class from the Internet: there are
heaps of array / list classes available.  But, point taken.
 CAM>> application, so the
 CAM>> abstract class was a Cell, and from that I produced
 CAM>> StringCell, IntCell, FloatCell...
 DM> That sounds like a definately text-book style of using abstract
 DM> base classes, yup.  :-)
Cheeky sod.  :)  It's just the way I explained it that was textbook.  :)  It
was all my own work .
 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>> }
 DM> A) The second inserter operator (<<) on the first cout line is
 DM> unnecessary.
Agreed, but it's a habit developed when you cut and paste lines during
debugging, sticking in a variable or whatever.
 DM> B) Returning non-zero implies an error occurred.  :-)
That's what I meant!  It's *NOT* really C++ !!
 DM> Side-note for gcc users: don't forget to link in stdc++!  :-)
I didn't know that.  Is that how to use gcc instead of being forced to use 
g++?
I wondered why gcc wouldn't find any of the g++-include libraries.  I 
installed
GCC 2.7.2 / 2.7.2.1 / 2.7.2.2 on my SUN a million and one times, desperately
trying to GNU Pascal to work.  Eventually gave up.  Half the reason is I have 
a
puny HD: 430Mb.  When I get my SPARCserver 4/380 up and running, I'll get a 
2Gb
drive and get GNU Pascal running.  You have to be able to compile Pascal 
progs:
it's essential.
Thanks for the tips.  Darlin'.  Sorry, Darin.  ;)
                            Fido = 2:259/33
  --Craigzilla++        Internet = McMoose@sol.co.uk
                             WWW = http://www.taynet.co.uk/users/mcmoose/
--- GEcho 1.00
---------------
* Origin: The Kilted Bun, Letham Angus -- hame o' the McMoose (2:259/33)

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™.