Author
anonymous
almost 7 years ago
Language
Compiler
Options
Author
anonymous
almost 7 years ago
$
prog.cc:14:29: warning: multi-character character constant [-Wmultichar]
if(s[i]!=' '||s[i]=='/0'){
^
prog.cc:13:19: warning: comparison of integers of different signs: 'int' and 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::size_type' (aka 'unsigned long') [-Wsign-compare]
for(auto i=0;i<s.size();){
~^~~~~~~~~
prog.cc:14:27: warning: result of comparison of constant 12080 with expression of type 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::value_type' (aka 'char') is always false [-Wtautological-constant-out-of-range-compare]
if(s[i]!=' '||s[i]=='/0'){
~~~~^ ~~~~
3 warnings generated.
llA ruoY esab era gnoleb ot su
Exit Code:
0