prog.cpp:8:6: error: non-ASCII characters are not allowed outside of literals and identifiers
cout « "1" « endl;
^~
prog.cpp:8:5: error: expected ';' after expression
cout « "1" « endl;
^
;
prog.cpp:8:13: error: non-ASCII characters are not allowed outside of literals and identifiers
cout « "1" « endl;
^~
prog.cpp:8:12: error: expected ';' after expression
cout « "1" « endl;
^
;
prog.cpp:8:16: error: reference to overloaded function could not be resolved; did you mean to call it?
cout « "1" « endl;
^~~~
/usr/bin/../lib/gcc/i586-linux-gnu/4.9/../../../../include/c++/4.9/ostream:564:5: note: possible target for call
endl(basic_ostream<_CharT, _Traits>& __os)
^
prog.cpp:11:5: error: non-ASCII characters are not allowed outside of literals and identifiers
cin » array1[counter]; // считываем вводимые с клавиатуры числа
^~
prog.cpp:11:4: error: expected ';' after expression
cin » array1[counter]; // считываем вводимые с клавиатуры числа
^
;
prog.cpp:11:1: warning: expression result unused [-Wunused-value]
cin » array1[counter]; // считываем вводимые с клавиатуры числа
^~~
prog.cpp:11:15: error: use of undeclared identifier 'counter'
cin » array1[counter]; // считываем вводимые с клавиатуры числа
^
prog.cpp:12:6: error: non-ASCII characters are not allowed outside of literals and identifiers
cout « "2 = ";
^~
prog.cpp:12:5: error: expected ';' after expression
cout « "2 = ";
^
;
prog.cpp:14:6: error: non-ASCII characters are not allowed outside of literals and identifiers
cout « array1[counter] « " "; // выводим элементы массива на стандартное устройство вывода
^~
prog.cpp:14:5: error: expected ';' after expression
cout « array1[counter] « " "; // выводим элементы массива на стандартное устройство вывода
^
;
prog.cpp:14:1: warning: expression result unused [-Wunused-value]
cout « array1[counter] « " "; // выводим элементы массива на стандартное устройство вывода
^~~~
prog.cpp:14:25: error: non-ASCII characters are not allowed outside of literals and identifiers
cout « array1[counter] « " "; // выводим элементы массива на стандартное устройство вывода
^~
prog.cpp:14:24: error: expected ';' after expression
cout « array1[counter] « " "; // выводим элементы массива на стандартное устройство вывода
^
;
prog.cpp:14:16: error: use of undeclared identifier 'counter'
cout « array1[counter] « " "; // выводим элементы массива на стандартное устройство вывода
^
prog.cpp:18:6: error: non-ASCII characters are not allowed outside of literals and identifiers
cout « "3 = " « sum« endl; //выводим сумму элементов масива
^~
prog.cpp:18:5: error: expected ';' after expression
cout « "3 = " « sum« endl; //выводим сумму элементов масива
^
;
prog.cpp:18:16: error: non-ASCII characters are not allowed outside of literals and identifiers
cout « "3 = " « sum« endl; //выводим сумму элементов масива
^~
prog.cpp:18:15: error: expected ';' after expression
cout « "3 = " « sum« endl; //выводим сумму элементов масива
^
;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.