Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!rutgers!bellcore!faline!thumper!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c++ Subject: Re: Needed : Recommendations for C++ texts for beginner Message-ID: <9207@alice.UUCP> Date: 16 Apr 89 15:12:52 GMT References: <1194@ncr-sd.SanDiego.NCR.COM> <1990009@hpctdls.HP.COM> <300@odi.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 12 In article <300@odi.UUCP>, dlw@odi.UUCP (Dan Weinreb) writes: > Students in an introductory o-o programming course are highly unlikely > to run into the need for functions that are friends of two classes. > In fact, they are unlikely to need friends at all. Imagine a linear algebra package with Matrix and Vector classes. A function that multiplies a Matrix and and a Vector is a logical candidate to be a friend of both. -- --Andrew Koenig ark@europa.att.com