> *this << buf.pointer should send the contents of buf to the character > (*this << "Huh?\r\n"; works fine) Did you try *this << buf; or *this << buf.c_str(); ? First is preferred. Hope your character class have a operator<<(string) or a operator<<(const char *) member function. -- Juliano Ravasi Ferraz <jferraz@linkway.com.br> Linux User #164664 -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT