Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc:23:9: error: use of undeclared identifier 'vec'; did you mean 'dec'?
vec.push_back(node);/* I GET COMPILATION ERROR HERE"vec was not declared in this scope"*/
^~~
dec
/opt/wandbox/clang-5.0.0/include/c++/v1/ios:962:1: note: 'dec' declared here
dec(ios_base& __str)
^
prog.cc:23:12: error: member reference base type 'std::__1::ios_base &(std::__1::ios_base &)' is not a structure or union
vec.push_back(node);/* I GET COMPILATION ERROR HERE"vec was not declared in this scope"*/
~~~^~~~~~~~~~
prog.cc:27:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char** argv) {
^
prog.cc:27:27: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, char** argv) {
^
2 warnings and 2 errors generated.
Exit Code:
1