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