19 const unsigned int max_length = 1024;
21 char tmp[max_length + 3];
22 tmp[max_length + 1] =
'\0';
24 if (tmp[max_length + 1] !=
'\0')
26 cerr <<
"Error -- Maximum adstring length exceeded in "
27 <<
"istream& operator>>(istream&, adstring&)" <<
endl;
42 const unsigned int max_length = 1025;
43 char tmp[max_length + 1];
49 while (ii <= max_length)
51 char ch = (char)c.get();
54 char p = (char)c.peek();
76 cerr <<
"Error -- Maximum line_adstring length exceeded in "
77 <<
"istream& operator>>(istream&, line_adstring&)" <<
endl;
prnstream & endl(prnstream &)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
istream & operator>>(const istream &input, const d3_array &arr3)
Read values from input stream into arr3.