Date: Fri, 27 Jan 1995 23:36:02 +0900 From: Stephen Turnbull To: jmccaski AT CS DOT Trinity DOT Edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: strstream strstream AStrStreamObject; AStrStrObject << "some text here"; === I assume this is a lazy fingers typo, not your actual code.... cout << AStrStreamObject; don't work. Can anyone tell me if this is a gcc problem, or am I missing something? The compiler (2.6.0) says that it can't determine which virtual function to use for operator << (on the line with cout), as though it doesn't know the type of AStrStreamObject (I'm not using pointers or references). Any ideas? I've not tried to do this recently, but the last time I looked at Stream.h there was no prototype of the form stream& operator << (stream&) or the like. Try a grep 'operator.*<<', hey? (I'm not on a michine with recent GNU C++ installed at the moment.) -- Stephen Turnbull / Yaseppochi-gumi http://turnbull.sk.tsukuba.ac.jp/ anon FTP: turnbull.sk.tsukuba.ac.jp Check out Kansai-WWW, too ---------> http://pclsp2.kuicr.kyoto-u.ac.jp/