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_34653051_31643.cpp:74:1: error: missing terminating " character
 =="+this.firstC.firstC+"firstC.firstF exist?=="+this.firstC.firstF);
 ^
0_0_34653051_31643.cpp:1:1: error: 'import' does not name a type
 import java.util.Scanner;
 ^
0_0_34653051_31643.cpp:4:2: error: 'String' does not name a type
  String fileName;
  ^
0_0_34653051_31643.cpp:5:7: error: field 'next' has incomplete type 'File'
  File next;
       ^
0_0_34653051_31643.cpp:6:9: error: expected ':' before 'File'
  public File(String n){
         ^
0_0_34653051_31643.cpp:6:21: error: expected ')' before 'n'
  public File(String n){
                     ^
0_0_34653051_31643.cpp:9:1: error: expected ';' after class definition
 }
 ^
0_0_34653051_31643.cpp:11:2: error: 'String' does not name a type
  String dirName;
  ^
0_0_34653051_31643.cpp:12:6: error: field 'firstC' has incomplete type 'Dir'
  Dir firstC,NextS,parent;
      ^
0_0_34653051_31643.cpp:12:13: error: field 'NextS' has incomplete type 'Dir'
  Dir firstC,NextS,parent;
             ^
0_0_34653051_31643.cpp:12:19: error: field 'parent' has incomplete type 'Dir'
  Dir firstC,NextS,parent;
                   ^
0_0_34653051_31643.cpp:14:2: error: 'boolean' does not name a type
  boolean isnull;
  ^
0_0_34653051_31643.cpp:15:9: error: expected ':' before 'static'
  public static void traversal(Dir root){
         ^
0_0_34653051_31643.cpp:22:9: error: expected ':' before 'boolean'
  public boolean create(File f){
         ^
0_0_34653051_31643.cpp:22:9: error: 'boolean' does not name a type
0_0_34653051_31643.cpp:39:9: error: expected ':' before 'boolean'
  public boolean delete(String fname){
         ^
0_0_34653051_31643.cpp:39:9: error: 'boolean' does not name a type
0_0_34653051_31643.cpp:59:9: error: expected ':' before 'Dir'
  public Dir enter(String dname){
         ^
0_0_34653051_31643.cpp:59:19: error: 'String' has not been declared
  public Dir enter(String dname){
                   ^
0_0_34653051_31643.cpp:70:9: error: expected ':' before 'boolean'
  public boolean remove(String dname){
         ^
0_0_34653051_31643.cpp:70:9: error: 'boolean' does not name a type
0_0_34653051_31643.cpp:93:9: error: expected ':' before 'boolean'
  public boolean establish(Dir d){
         ^
0_0_34653051_31643.cpp:93:9: error: 'boolean' does not name a type
0_0_34653051_31643.cpp:110:9: error: expected ':' before 'Dir'
  public Dir(String n,Dir p){
         ^
0_0_34653051_31643.cpp:110:20: error: expected ')' before 'n'
  public Dir(String n,Dir p){
                    ^
0_0_34653051_31643.cpp:115:9: error: expected ':' before 'Dir'
  public Dir(String n){
         ^
0_0_34653051_31643.cpp:115:20: error: expected ')' before 'n'
  public Dir(String n){
                    ^
0_0_34653051_31643.cpp:119:1: error: expected ';' after class definition
 }
 ^
0_0_34653051_31643.cpp: In static member function 'static void Dir::traversal(Dir)':
0_0_34653051_31643.cpp:16:12: error: 'null' was not declared in this scope
   if(root==null)return;
            ^
0_0_34653051_31643.cpp:17:3: error: 'System' was not declared in this scope
   System.out.print("-"+root.dirName);
   ^
0_0_34653051_31643.cpp:17:29: error: 'class Dir' has no member named 'dirName'
   System.out.print("-"+root.dirName);
                             ^
0_0_34653051_31643.cpp: In member function 'Dir Dir::enter(int)':
0_0_34653051_31643.cpp:60:11: error: request for member 'firstC' in '(Dir*)this', which is of pointer type 'Dir*' (maybe you meant to use '->' ?)
   if(this.firstC==null)return null;
           ^
0_0_34653051_31643.cpp:60:19: error: 'null' was not declared in this scope
   if(this.firstC==null)return null;
                   ^
0_0_34653051_31643.cpp:62:15: error: request for member 'firstC' in '(Dir*)this', which is of pointer type 'Dir*' (maybe you meant to use '->' ?)
    Dir p=this.firstC;
               ^
0_0_34653051_31643.cpp:64:10: error: 'class Dir' has no member named 'dirName'
     if(p.dirName.equals(dname))return p;
          ^
0_0_34653051_31643.cpp:68:10: error: 'null' was not declared in this scope
   return null;
          ^
0_0_34653051_31643.cpp: At global scope:
0_0_34653051_31643.cpp:120:1: error: expected unqualified-id before 'public'
 public class Main {
 ^


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-22 17:47:17, Gzip enabled