Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!ames!amelia!eagle!news From: ttsung@larry.lerc.nasa.gov (Amy Sung) Newsgroups: comp.lang.c++ Subject: Re: ostream&(char *)? Message-ID: <1990Jul26.141248.7595@eagle.lerc.nasa.gov> Date: 26 Jul 90 14:12:48 GMT References: <2528@zipeecs.umich.edu> Reply-To: ttsung@larry.lerc.nasa.gov (Amy Sung) Organization: NASA/Lewis Research Center, Cleveland Lines: 35 I was following an example of reference types and found myself lost. In the example given in the PROGRAMMING IN C++ by S. Dewhurst & K Stark on section 3.1, the scenario was like this: ______________________________ example __________________________ 1. int size= 0; 2. 3. main() { 4. input( list, max, size ); 5. output( list, size ); 6. } 7. 8. void ---->> 9. input( String *a, int limit, int &i ) { a. for( i=0; i