C1400: Missing parameter name in function head

[ERROR]

Description

There was no identifier for a name of the parameter. Only the type was specified. In function declarations, this is legal. But in function definitions, it's illegal.

Example
  void f(int) {}  // error

  
  void f(int);    // ok

  
Tips

Declare a name for the parameter. In C++ parameter names must not be specified.