Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 8 years ago

Language

Compiler

Options

Author

anonymous

almost 8 years ago

$
prog.cc: In function 'bool func(std::__cxx11::string)':
prog.cc:9:11: warning: unused variable 'p' [-Wunused-variable]
     char *p = strtok( const_cast<char*>( s2.c_str() ), " " );
           ^
prog.cc: In function 'int main()':
prog.cc:18:10: warning: unused variable 'check' [-Wunused-variable]
     bool check = func(s1);
          ^~~~~
"add 20"
"add 20"
Exit Code:
0