🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Silvio Levy Thu, 23 Feb 1989 21:48
(none)
#1705
Author: Silvio Levy
Date: Thu, 23 Feb 1989 21:48
15 lines
741 bytes
Sorry if you've fixed this already.

In g++, version 1.32.0, file stream.cc, the function istream& scan()
does not return a value when the initial test (if (readable())) fails.
This causes erratic behavior such as a core dump in the following
program (with empty standard input):

#include <stream.h>
main() {
  int i;
  cin >> i >> i >> i;
}

Silvio Levy
levy@princeton.edu
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