🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by gail slemon, expersoft Fri, 24 Jul 1992 19:51
iostream handling of NULL char*
#87
Author: gail slemon, expersoft
Date: Fri, 24 Jul 1992 19:51
9 lines
746 bytes
Hi!
     Our application died when trying to write a NULL char *
using the ostream << operator.  Since this code has survived
compilation using several cfront based compilers, I ended up
adding a check for NULL to ostream& operator<< (ostream& stream,
const char *s) in iostream.C.  Is this uncool?

	Thanks!
	Gail
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads