ent: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sree.gooogle at gmail dot com
In the following piece of C++ code I have used cout<<(char*)NULL; after this
line, my program printing nothing to the output screen. Does it mean I have
done close(1) with cout here?
#i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60959
--- Comment #2 from Sreenath U S ---
"sets the badbit on the stream which causes nothing to be printed after that.";
So this is a defined behavior or it varies on compiler to compiler?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60959
--- Comment #4 from Sreenath U S ---
Okay Thanks. One more thing, Is there any way to make the remaining cout
statements to get printed in gcc without removing the faulty
cout<<(char*)NULL;?
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: sree.gooogle at gmail dot com
Created attachment 32242
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32242&action=edit
c program used for Segmentation f
||sree.gooogle at gmail dot com
Severity|normal |minor