23 #if defined (HAVE_CONFIG_H) 51 if (
c ==
'\n' ||
c ==
'\r')
62 if (
c ==
'\r' &&
is.peek () ==
'\n')
95 if (
c ==
'\n' ||
c ==
'\r')
106 if (
c ==
'\r' &&
is.peek () ==
'\n')
117 while (
c ==
'\n' ||
c ==
'\r');
132 std::ostringstream buf;
138 if (
c ==
'\n' ||
c ==
'\r')
151 if (
c ==
'\r' &&
is.peek () ==
'\n')
std::string read_until_newline(std::istream &is, bool keep_newline)
void skip_until_newline(std::istream &is, bool keep_newline)
void skip_preceeding_newline(std::istream &is)
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
write the output to stdout if nargout is
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string