Ошибка компилятор С++ error: no matching function for call to 'test::f()' note: candidate is: note: void test::f(int) note: candidate expects 1 argument, 0 provided
ч
Ошибка с++ компилятора:
error: no matching function for call to 'test::f()'
note: candidate is:
note: void test::f(int)
note: candidate expects 1 argument, 0 provided
значит, что вы объявили функцию f( int i) с параметром, но когда вызываете ее, НИЧЕГО ЕЙ НЕ ПЕРЕДАЕТЕ.
Оставить свой ответ: