F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_32362964_19693.c:11:16: error: expected specifier-qualifier-list before '/' token
     int FAflag;//-1,0,1 0means not exist,- means file
                ^
0_0_32362964_19693.c:11:25: error: invalid suffix "means" on integer constant
     int FAflag;//-1,0,1 0means not exist,- means file
                         ^
0_0_32362964_19693.c:27:21: error: expected identifier or '(' before '/' token
 void FAinitialize();//to initialize
                     ^
0_0_32362964_19693.c:28:30: error: expected identifier or '(' before '/' token
 char* FAdiCreate(char* name);//to create a new directory
                              ^
0_0_32362964_19693.c:29:30: error: expected identifier or '(' before '/' token
 char* FAdiDelete(char* name);//to delete a directory
                              ^
0_0_32362964_19693.c:30:30: error: expected identifier or '(' before '/' token
 char* FAfiCreate(char* name);//to create a new file
                              ^
0_0_32362964_19693.c:31:30: error: expected identifier or '(' before '/' token
 char* FAfiDelete(char* name);//to delete a file
                              ^
0_0_32362964_19693.c:32:26: error: expected identifier or '(' before '/' token
 char* FAMove(char* name);//to enter next or last directory
                          ^
0_0_32362964_19693.c: In function 'FAinitialize':
0_0_32362964_19693.c:75:5: error: expected expression before '/' token
     //initialize the file system
     ^
0_0_32362964_19693.c:77:9: error: 'i' undeclared (first use in this function)
     for(i=0;i<BUFSIZ;i++)
         ^
0_0_32362964_19693.c:77:9: note: each undeclared identifier is reported only once for each function it appears in
0_0_32362964_19693.c:83:13: error: 'j' undeclared (first use in this function)
         for(j=0;j<Total;j++)
             ^
0_0_32362964_19693.c:89:18: error: 'struct _FILE_ABSTRACT' has no member named 'FAlast'
     FileSystem[0]->FAlast=FileSystem[0];
                  ^
0_0_32362964_19693.c: In function 'FAdiCreate':
0_0_32362964_19693.c:98:17: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
         if(FAnow->FAnext[i]!=NULL)
                 ^
0_0_32362964_19693.c:100:35: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp1=strcmp(FAnow->FAnext[i]->FAname,name);
                                   ^
0_0_32362964_19693.c:101:28: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp2=FAnow->FAnext[i]->FAflag;
                            ^
0_0_32362964_19693.c:112:26: error: 'struct _FILE_ABSTRACT' has no member named 'FAlast'
             FileSystem[i]->FAlast=FAnow;
                          ^
0_0_32362964_19693.c:116:24: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             while(FAnow->FAnext[j]!=NULL)
                        ^
0_0_32362964_19693.c:118:18: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             FAnow->FAnext[j]=FileSystem[i];
                  ^
0_0_32362964_19693.c: In function 'FAdiDelete':
0_0_32362964_19693.c:129:17: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
         if(FAnow->FAnext[i]!=NULL)
                 ^
0_0_32362964_19693.c:131:35: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp1=strcmp(FAnow->FAnext[i]->FAname,name);
                                   ^
0_0_32362964_19693.c:132:28: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp2=FAnow->FAnext[i]->FAflag;
                            ^
0_0_32362964_19693.c:137:29: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                     if(FAnow->FAnext[i]->FAnext[j]!=NULL)
                             ^
0_0_32362964_19693.c:140:29: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                 strcpy(FAnow->FAnext[i]->FAname,"\0");
                             ^
0_0_32362964_19693.c:141:22: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                 FAnow->FAnext[i]->FAlast=NULL;
                      ^
0_0_32362964_19693.c:142:22: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                 FAnow->FAnext[i]->FAflag=0;
                      ^
0_0_32362964_19693.c:143:22: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                 FAnow->FAnext[i]=NULL;
                      ^
0_0_32362964_19693.c: In function 'FAfiCreate':
0_0_32362964_19693.c:155:17: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
         if(FAnow->FAnext[i]!=NULL)
                 ^
0_0_32362964_19693.c:157:35: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp1=strcmp(FAnow->FAnext[i]->FAname,name);
                                   ^
0_0_32362964_19693.c:158:28: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp2=FAnow->FAnext[i]->FAflag;
                            ^
0_0_32362964_19693.c:169:26: error: 'struct _FILE_ABSTRACT' has no member named 'FAlast'
             FileSystem[i]->FAlast=FAnow;
                          ^
0_0_32362964_19693.c:173:24: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             while(FAnow->FAnext[j]!=NULL)
                        ^
0_0_32362964_19693.c:175:18: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             FAnow->FAnext[j]=FileSystem[i];
                  ^
0_0_32362964_19693.c: In function 'FAfiDelete':
0_0_32362964_19693.c:186:17: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
         if(FAnow->FAnext[i]!=NULL)
                 ^
0_0_32362964_19693.c:188:35: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp1=strcmp(FAnow->FAnext[i]->FAname,name);
                                   ^
0_0_32362964_19693.c:189:28: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp2=FAnow->FAnext[i]->FAflag;
                            ^
0_0_32362964_19693.c:192:29: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                 strcpy(FAnow->FAnext[i]->FAname,"\0");
                             ^
0_0_32362964_19693.c:193:22: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                 FAnow->FAnext[i]->FAlast=NULL;
                      ^
0_0_32362964_19693.c:194:22: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                 FAnow->FAnext[i]->FAflag=0;
                      ^
0_0_32362964_19693.c:195:22: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                 FAnow->FAnext[i]=NULL;
                      ^
0_0_32362964_19693.c: In function 'FAMove':
0_0_32362964_19693.c:207:20: error: 'struct _FILE_ABSTRACT' has no member named 'FAlast'
         FAnow=FAnow->FAlast;
                    ^
0_0_32362964_19693.c:217:17: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
         if(FAnow->FAnext[i]!=NULL)
                 ^
0_0_32362964_19693.c:219:35: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp1=strcmp(FAnow->FAnext[i]->FAname,name);
                                   ^
0_0_32362964_19693.c:220:28: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
             int temp2=FAnow->FAnext[i]->FAflag;
                            ^
0_0_32362964_19693.c:223:28: error: 'struct _FILE_ABSTRACT' has no member named 'FAnext'
                 FAnow=FAnow->FAnext[i];
                            ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 06:17:24, Gzip enabled