Main.cc:2:20: error: stray ‘\357’ in program
using namespace std;
^
Main.cc:2:21: error: stray ‘\274’ in program
using namespace std;
^
Main.cc:2:22: error: stray ‘\233’ in program
using namespace std;
^
Main.cc:3:9: error: stray ‘\357’ in program
int main()
^
Main.cc:3:10: error: stray ‘\274’ in program
int main()
^
Main.cc:3:11: error: stray ‘\210’ in program
int main()
^
Main.cc:3:12: error: stray ‘\357’ in program
int main()
^
Main.cc:3:13: error: stray ‘\274’ in program
int main()
^
Main.cc:3:14: error: stray ‘\211’ in program
int main()
^
Main.cc:3:1: error: expected ‘;’ before ‘int’
int main()
^~~
Main.cc:3:5: error: cannot declare ‘::main’ to be a global variable
int main()
^~~~
Main.cc:5:24: error: expected ‘}’ before ‘;’ token
cout<<"hello,word!";
^
Main.cc:5:9: error: invalid user-defined conversion from ‘std::basic_ostream’ to ‘int’ [-fpermissive]
cout<<"hello,word!";
~~~~^~~~~~~~~~~~~~~
In file included from /usr/include/c++/7/ios:44:0,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from Main.cc:1:
/usr/include/c++/7/bits/basic_ios.h:117:16: note: candidate is: std::basic_ios<_CharT, _Traits>::operator bool() const [with _CharT = char; _Traits = std::char_traits]
explicit operator bool() const
^~~~~~~~
/usr/include/c++/7/bits/basic_ios.h:117:16: note: return type ‘bool’ of explicit conversion function cannot be converted to ‘int’ with a qualification conversion
Main.cc:6:5: error: ‘my’ does not name a type
my name is a cc;
^~
Main.cc:7:5: error: expected unqualified-id before ‘return’
return 0;
^~~~~~