26int findmark(std::istream& file,
const char* s);
37int findmark_a(std::istream& file, T ws,
long qws,
long& nbeg,
long& nnext);
43int findmark_b(std::istream& file, T ws,
long qws,
long& nbeg,
long& nnext,
47int findmark_a(std::istream& file, T ws,
long qws,
long& nbeg,
long& nnext) {
55 char* s =
new char[qws + 1];
56 for (
long n = 0; n < qws; n++) s[n] = ws[n];
60 char* fs =
new char[qws + 1];
61 for (
long n = 0; n < qws; n++) {
62 if (file.eof() == 1) {
73 while (strcmp(fs, s) != 0) {
74 for (
long n = 1; n < qws; n++) fs[n - 1] = fs[n];
75 if (file.eof() == 1) {
91int findmark_b(std::istream& file, T ws,
long qws,
long& nbeg,
long& nnext,
100 char* s =
new char[qws + 1];
101 for (
long n = 0; n < qws; n++) s[n] = ws[n];
105 char* fs =
new char[qws + 1];
106 for (
long n = 0; n < qws; n++) {
107 if (file.eof() == 1) {
118 while (strcmp(fs, s) != 0) {
120 for (
long n = 1; n < qws; n++) fs[n - 1] = fs[n];
121 if (file.eof() == 1) {
142 const std::string str[]);
#define check_econd11(a, signb, stream)
int findmark_b(std::istream &file, T ws, long qws, long &nbeg, long &nnext, char &prev)
int findmark(std::istream &file, const char *s)
int find1ofnmark(std::istream &file, int q, char *s[])
int findmark_a(std::istream &file, T ws, long qws, long &nbeg, long &nnext)