8 mfunnamep(
"int definp_int(const String& str)");
10 mcout <<
"definp_int: starting, read int " << str <<
"\n";
13 int i_ret =
findmark(std::cin, str.c_str());
19 mcout <<
"int is read\n";
24 mfunnamep(
"int definp_long(const String& str)");
26 mcout <<
"definp_long: starting, read long " << str <<
"\n";
29 int i_ret =
findmark(cin, str.c_str());
35 mcout <<
"long is read\n";
42 mcout <<
"definp_double: starting, read double " << str <<
"\n";
45 int i_ret =
findmark(cin, str.c_str());
51 mcout <<
"double is read\n";
56 mfunnamep(
"int definp_String(const String& str)");
58 mcout <<
"definp_String: starting, read String " << str <<
"\n";
61 int i_ret =
findmark(cin, str.c_str());
67 mcout <<
"String is read\n";
73 mfunnamep(
"int set_position(const String& word, std::istream& istrm, int "
74 "s_rewind, int s_req_sep)");
76 "before seekg, call for variable named " << word <<
'\n',
80 if (s_rewind == 1) istrm.seekg(0);
83 int iret =
findmark_b(istrm, word, word.length(), nbeg, nnext, prev);
86 "The keyword \"" << word.c_str() <<
"\" is not found\n",
90 "after the call of findmark for variable named " << word <<
'\n',
94 int iret =
findmark_b(istrm, word, word.length(),
98 "The keyword \"" << word.c_str() <<
"\" is not found\n",
102 "after the call of findmark for variable named " << word <<
'\n',
104 if (nbeg == 0)
return nbeg;
105 if (prev ==
'\n' || prev ==
' ')
return nbeg;
109 "after findmark_b, call for variable named " << word <<
'\n',
116 mfunnamep(
"void remove_end_comments(...)");
118 long marklen = commark.length();
123 inpmark[marklen] =
'\0';
128 while ((ic = istr.get()) != EOF) {
136 if (qel >= istring.
get_qel() - 2) {
144 for (n = 1; n < marklen; n++) {
145 inpmark[n - 1] = inpmark[n];
147 inpmark[marklen - 1] = ic;
149 if (strcmp(commark.c_str(), &(inpmark[0])) ==
153 qel = qel - (marklen - 1);
155 if (qel >= istring.
get_qel() - 2) {
167 istring[qel++] =
'\0';
#define check_econd11(a, signb, stream)
#define check_econd11a(a, signb, add, stream)
#define mfunnamep(string)
double definp_double(const String &str)
long set_position(const String &word, std::istream &istrm, int s_rewind, int s_req_sep)
long definp_long(const String &str)
String definp_String(const String &str)
int definp_int(const String &str)
void remove_end_comments(std::istream &istr, String commark, DynLinArr< char > &istring)
int findmark(std::istream &file, const char *s)
int findmark_b(std::istream &file, T ws, long qws, long &nbeg, long &nnext, char &prev)
#define Iprintn(file, name)