chessrush.cpp:2:2: error: invalid preprocessing directive #inlude; did you mean #include?
2 | #inlude <iostream>
| ^~~~~~
| include
chessrush.cpp:6:5: error: cannot declare '::main' to be a global variable
6 | int main {
| ^~~~
chessrush.cpp:7:3: error: 'cout' was not declared in this scope
7 | cout << "1" << endl;
| ^~~~
chessrush.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include "arithmetics.h"
+++ |+#include <iostream>
2 | #inlude <iostream>
chessrush.cpp:7:18: error: 'endl' was not declared in this scope
7 | cout << "1" << endl;
| ^~~~
chessrush.cpp:2:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
1 | #include "arithmetics.h"
+++ |+#include <ostream>
2 | #inlude <iostream>
chessrush.cpp:7:22: error: expected '}' before ';' token
7 | cout << "1" << endl;
| ^
chessrush.cpp:6:10: note: to match this '{'
6 | int main {
| ^
chessrush.cpp:8:1: error: expected declaration before '}' token
8 | }
| ^