Main.cc:1:2: error: invalid preprocessing directive #inclu; did you mean #include?
#inclu#include
^~~~~
include
Main.cc:15:2: error: stray ‘#’ in program
}#include
^
Main.cc: In function ‘int main()’:
Main.cc:5:2: error: ‘cin’ was not declared in this scope
cin>>n;
^~~
Main.cc:5:2: note: suggested alternative: ‘main’
cin>>n;
^~~
main
Main.cc:6:2: error: ‘cout’ was not declared in this scope
cout<<"turn off the light.turn off the light.turn off the light.";
^~~~
Main.cc: At global scope:
Main.cc:8:2: error: ‘de’ does not name a type
}de
^~
Main.cc: In function ‘int main()’:
Main.cc:10:5: error: redefinition of ‘int main()’
int main(){
^~~~
Main.cc:3:5: note: ‘int main()’ previously defined here
int main(){
^~~~
Main.cc:12:2: error: ‘cin’ was not declared in this scope
cin>>n;
^~~
Main.cc:12:2: note: suggested alternative: ‘main’
cin>>n;
^~~
main
Main.cc:13:2: error: ‘cout’ was not declared in this scope
cout<<"turn off the light.turn off the light.turn off the light.";
^~~~
Main.cc: At global scope:
Main.cc:15:3: error: ‘include’ does not name a type; did you mean ‘__has_include’?
}#include
^~~~~~~
__has_include
Main.cc: In function ‘int main()’:
Main.cc:17:5: error: redefinition of ‘int main()’
int main(){
^~~~
Main.cc:3:5: note: ‘int main()’ previously defined here
int main(){
^~~~
Main.cc:19:2: error: ‘cin’ was not declared in this scope
cin>>n;
^~~
Main.cc:19:2: note: suggested alternative: ‘main’
cin>>n;
^~~
main
Main.cc:20:2: error: ‘cout’ was not declared in this scope
cout<<"turn off the light.turn off the light.turn off the light.";
^~~~