Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc: In member function 'void Ball<T>::foo(T)':
prog.cc:23:9: error: 'vec' was not declared in this scope
         vec.push_back(node);/* I GET COMPILATION ERROR HERE"vec was not declared in this scope"*/
         ^~~
prog.cc:23:9: note: suggested alternative: 'getc'
         vec.push_back(node);/* I GET COMPILATION ERROR HERE"vec was not declared in this scope"*/
         ^~~
         getc
prog.cc: In function 'int main(int, char**)':
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) {
                           ^~~~
Exit Code:
1