27 out << str.length() << whitespace;
29 out << str << whitespace;
63 out << strlen(str) << whitespace;
65 out << str << whitespace;
89 char *readstr =
new char[length + 1];
92 readstr[p] = in.get();
void idf_output_string(ostream &out, const string &str, char whitespace)
Writes the indicated string to the output file.
void idf_input_string(istream &in, string &str)
Reads the given string from the input file, as previously written by output_string().
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.