#include<type\index.cpp>
#include<type\tur_mac.cpp>
typedef int aaa[2];
typedef char* string;
class new_input
{
private:
aaa* web;
index indd;
tur_mac turing;
ind* inddd;
string* cut(string get)
{
int i[10]={0};
string* a;
while(get[i[0]])
{
while(get[i[0]]!=' ')
a[i[1]][i[2]++]=get[i[0]++];
i[0]++;
i[1]++;
i[2]=0;
}
return a;
}
void to_index(char* path,char* webbb)
{
inddd=indd.read(path);
int i=0;
while(inddd[i].web[0]!=0)
i++;
int j=0;
while(web[j][0]!=0)
inddd[i].indd[j]=web[j][0]/web[j++][1];
j=0;
while(indd.wait[j].indd[0]!=0)
j++;
int j1=j;
j=0;
while(inddd[j1].indd[j]!=0)
indd.wait[j1].indd[j]=inddd[j1].indd[j++];
indd.wait[j1].biggist[1]=j;
j=0;
while(webbb[j]!=0)
indd.wait[j1].web[j]=webbb[j++];
indd.wait[j1].biggist[0]=j;
indd.write(path);
}
public:
void new_inputt(string inputt,char* path)
{
string* aa=cut(inputt);
int i=0;
while(aa[i][0])
{
int get,j=0;
get=turing.tur_mach(aa[i++],path);
web[get][0]++;
i++;
}
int j=0;
while(!web[j][0])
web[j++][1]=i;
to_index(path,inputt);
}
};
new_input.cpp
最新推荐文章于 2021-12-25 21:58:40 发布