

CodePudding user response:
With what the compiler? Is likely to be its problemCodePudding user response:
The scanf is that a warning and does not affect the operation, this project has a source file, you also contains the main function, so the link error, delete it from the project