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_33317349_27330.cpp:19:1: error: stray '\241' in program
 int cur。tot;//当前目录
 ^
0_0_33317349_27330.cpp:19:1: error: stray '\243' in program
0_0_33317349_27330.cpp:19:1: error: stray '\243' in program
0_0_33317349_27330.cpp:19:1: error: stray '\273' in program
0_0_33317349_27330.cpp:18:1: error: expected ';' after struct definition
 }
 ^
0_0_33317349_27330.cpp: In member function 'int node::F(int, int, int, int, std::string)':
0_0_33317349_27330.cpp:16:4: error: only constructors take member initializers
    head(h), next(n), type(t), fa(f), name(s) {
    ^
0_0_33317349_27330.cpp: At global scope:
0_0_33317349_27330.cpp:19:10: error: expected initializer before 'tot'
 int cur。tot;//当前目录
          ^
0_0_33317349_27330.cpp: In function 'void cd(const char*)':
0_0_33317349_27330.cpp:24:3: error: 'cur' was not declared in this scope
   cur = 0;
   ^
0_0_33317349_27330.cpp:26:3: error: 'cur' was not declared in this scope
   cur = V[cur].fa;
   ^
0_0_33317349_27330.cpp:26:9: error: 'V' was not declared in this scope
   cur = V[cur].fa;
         ^
0_0_33317349_27330.cpp:28:12: error: 'V' was not declared in this scope
   for (i = V[cur].head; i > 0; i = V[i].next) 
            ^
0_0_33317349_27330.cpp:28:14: error: 'cur' was not declared in this scope
   for (i = V[cur].head; i > 0; i = V[i].next) 
              ^
0_0_33317349_27330.cpp:31:5: error: break statement not within loop or switch
     break;
     ^
0_0_33317349_27330.cpp: In function 'void create(const char*, int)':
0_0_33317349_27330.cpp:40:12: error: 'V' was not declared in this scope
   for (i = V[cur].head; i > 0; i = V[i].next) {
            ^
0_0_33317349_27330.cpp:40:14: error: 'cur' was not declared in this scope
   for (i = V[cur].head; i > 0; i = V[i].next) {
              ^
0_0_33317349_27330.cpp:46:4: error: 'V' was not declared in this scope
    V.push_back(node(0, V[cur].head, type, cur, com));
    ^
0_0_33317349_27330.cpp:46:26: error: 'cur' was not declared in this scope
    V.push_back(node(0, V[cur].head, type, cur, com));
                          ^
0_0_33317349_27330.cpp:47:18: error: 'tot' was not declared in this scope
    V[cur].head = tot++;
                  ^
0_0_33317349_27330.cpp: In function 'void del(const char*, int)':
0_0_33317349_27330.cpp:57:13: error: 'V' was not declared in this scope
   int *p = &V[cur].head;
             ^
0_0_33317349_27330.cpp:57:15: error: 'cur' was not declared in this scope
   int *p = &V[cur].head;
               ^
0_0_33317349_27330.cpp: In function 'int main()':
0_0_33317349_27330.cpp:74:2: error: 'V' was not declared in this scope
  V.push_back(node(0, 0, DIR, 0, "\\"));
  ^
0_0_33317349_27330.cpp:74:37: error: no matching function for call to 'node::node(int, int, const int&, int, const char [2])'
  V.push_back(node(0, 0, DIR, 0, "\\"));
                                     ^
0_0_33317349_27330.cpp:74:37: note: candidates are:
0_0_33317349_27330.cpp:10:8: note: node::node()
 struct node{
        ^
0_0_33317349_27330.cpp:10:8: note:   candidate expects 0 arguments, 5 provided
0_0_33317349_27330.cpp:10:8: note: node::node(const node&)
0_0_33317349_27330.cpp:10:8: note:   candidate expects 1 argument, 5 provided
0_0_33317349_27330.cpp:10:8: note: node::node(node&&)
0_0_33317349_27330.cpp:10:8: note:   candidate expects 1 argument, 5 provided
0_0_33317349_27330.cpp:75:4: error: 'tot' was not declared in this scope
  ++tot;
    ^


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-17 09:39:02, Gzip enabled