p; return true;
return false;}
/* take out the data from the stack and the put in the stucter array*/
void buffer() {
n=0; m=1;
/* move the data in the shade untill the stack is empty */
while (s.top!=s.base)
{ n=n+1;
a[m].no=a[m].no+1;
a[m].cc[n]=*(s.top-1);
s.top--; }}
/* save the data */
void save()
{ printf("\n\nfile name:");
scanf("%s",&name);
fp=fopen(name,"wb");
for (i=1;i<=m;i++)
{ for (j=a[i].no;j>=1;j--)
{ fwrite(&(a[i].cc[j]),1,1,fp); }
fwrite(&t,1,1,fp);}
fclose(fp);}
/*main function*/
void main()
{ char ch,e;
printf("\n\n\n\t\t\t welcome to use the whole screen editor");
printf("\n\n&n
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 下一页